(self.webpackChunkclient=self.webpackChunkclient||[]).push([[179],{9698:(je,ce,D)=>{"use strict";D.d(ce,{k:()=>Z});var p=D(2340);let d="http://localhost:3000/",G="best-dating-adviser.com",L="";p.N.production?(d="https://api.best-dating-adviser.com/",L="best-dating-adviser.com"):p.N.stage&&(d="https://stage-api.best-dating-adviser.com/",G="stage.best-dating-adviser.com",L="best-dating-adviser.com");const Z={API_DOMAIN:d,DOMAIN_NAME:G,ROOT_DOMAIN_NAME:L,TRACK_DOMAIN:"https://small-analytics.best-dating-adviser.com/",URLS:{CATEGORIES_URL:"categories/",CATEGORIES_COMMENTS_URL:"comments/",PAGES_URL:"pages/",POSTS_URL:"posts/",REVIEWS_URL:"reviews/",QUIZ_URL:"quiz/",PUSH_NOTIFICATION:"push-events/",ANALYTICS:{IMPRESSION_EVENT_URL:"impression/",VISIT_EVENT_URL:"visits/",USER_EVENTS_URL:"events/"}}}},1471:(je,ce,D)=>{"use strict";D.d(ce,{c:()=>p});var p=(()=>{return(d=p||(p={})).MAIN="MAIN",d.DISCLAIMER="DISCLAIMER",d.COMPARISON="COMPARISON",d.REVIEW="REVIEW",d.PRIVACY="PRIVACY",d.TERMS="TERMS",d.ABOUT="ABOUT",d.POLICY="POLICY",d.SCORE_DISCLAIMER="SCORE_DISCLAIMER",d.FOOTER_DISCLAIMER="FOOTER_DISCLAIMER",p;var d})()},8225:(je,ce,D)=>{"use strict";D.d(ce,{w:()=>d});var p=D(7587);let d=(()=>{class G{transform(K,Z=50){return!K||K.length{"use strict";D.d(ce,{D:()=>d});var p=D(7587);let d=(()=>{class G{transform(K){return JSON.stringify(K)}}return G.\u0275fac=function(K){return new(K||G)},G.\u0275pipe=p.Yjl({name:"objectView",type:G,pure:!0}),G})()},6271:(je,ce,D)=>{"use strict";D.d(ce,{Z:()=>K});var p=D(9808),d=D(7587);function G(Z,U){if(1&Z){const ne=d.EpF();d.TgZ(0,"div",1)(1,"div",2),d.NdJ("click",function(){const j=d.CHM(ne).index;return d.oxw().headerClick(j)}),d.qZA(),d._UZ(2,"div",3),d.qZA()}if(2&Z){const ne=U.$implicit,q=U.index,F=d.oxw();d.xp6(1),d.ekj("active",F.isShown===q),d.Q6J("innerHTML",ne.question,d.oJD),d.xp6(1),d.ekj("active",F.isShown===q),d.Q6J("innerHTML",ne.answer,d.oJD)}}let L=(()=>{class Z{constructor(ne,q){this.document=ne,this.changeDetectorRef=q,this.faq=[],this.isShown=-1}ngOnInit(){this.isMobile&&(this.isShown=0)}headerClick(ne){this.isShown=this.isShown===ne?-1:ne,this.changeDetectorRef.detectChanges()}get isMobile(){return this.document.body.clientWidth<767}}return Z.\u0275fac=function(ne){return new(ne||Z)(d.Y36(p.K0),d.Y36(d.sBO))},Z.\u0275cmp=d.Xpm({type:Z,selectors:[["client-faq"]],inputs:{faq:"faq"},decls:1,vars:1,consts:[["class","faqItem dark",4,"ngFor","ngForOf"],[1,"faqItem","dark"],[1,"summary","open_faq",3,"innerHTML","click"],[1,"details",3,"innerHTML"]],template:function(ne,q){1&ne&&d.YNc(0,G,3,6,"div",0),2&ne&&d.Q6J("ngForOf",q.faq)},directives:[p.sg],styles:['h1[_ngcontent-%COMP%]{font-size:34px;line-height:54px;margin-bottom:50px}.faqItem[_ngcontent-%COMP%]{margin-top:24px;box-shadow:0 8px 20px #b4becd59;background:#FFFFFF;border-radius:5px}.faqItem[_ngcontent-%COMP%] .summary[_ngcontent-%COMP%]{min-height:90px;padding:20px 80px 20px 70px;width:100%;font-size:22px;line-height:30px;letter-spacing:.8px;color:#333;display:flex;align-items:center;position:relative;background:#FFFFFF;font-weight:500;border-radius:3px}.faqItem[_ngcontent-%COMP%] .summary[_ngcontent-%COMP%] span{font-weight:900}.faqItem[_ngcontent-%COMP%] .summary[_ngcontent-%COMP%]:before{position:absolute;content:"";background:url(/assets/info.svg) no-repeat;background-size:cover;width:34px;height:34px;margin-left:-50px}@media (max-width: 768px){.faqItem[_ngcontent-%COMP%] .summary[_ngcontent-%COMP%]:before{width:20px;height:20px;margin-left:-35px;background-size:initial}}.faqItem[_ngcontent-%COMP%] .summary[_ngcontent-%COMP%]:after{position:absolute;content:"";background:url(/assets/arrow-down.svg) no-repeat;background-size:cover;float:right;font-weight:700;margin:0 10px 0 0;padding:0;text-align:center;width:34px;height:20px;right:10px;cursor:pointer}@media (max-width: 768px){.faqItem[_ngcontent-%COMP%] .summary[_ngcontent-%COMP%]:after{width:20px;height:12px;background-size:initial}}.faqItem[_ngcontent-%COMP%] .summary.active[_ngcontent-%COMP%]:after{transform:rotate(180deg)}.faqItem[_ngcontent-%COMP%] .details[_ngcontent-%COMP%]{width:100%;overflow:hidden;max-height:0;font-size:14px;font-weight:400;line-height:20px;letter-spacing:.5px;box-shadow:none;padding:0 25px 25px;margin-top:-25px}.faqItem[_ngcontent-%COMP%] .details.active[_ngcontent-%COMP%]{margin-top:0;max-height:unset;min-height:100%}.faqItem.dark[_ngcontent-%COMP%] .details[_ngcontent-%COMP%] p, .faqItem.dark[_ngcontent-%COMP%] .details[_ngcontent-%COMP%] span, .faqItem.dark[_ngcontent-%COMP%] .details[_ngcontent-%COMP%] div, .faqItem.dark[_ngcontent-%COMP%] .details[_ngcontent-%COMP%] h1, .faqItem.dark[_ngcontent-%COMP%] .details[_ngcontent-%COMP%] h2, .faqItem.dark[_ngcontent-%COMP%] .details[_ngcontent-%COMP%] h3, .faqItem.dark[_ngcontent-%COMP%] .details[_ngcontent-%COMP%] strong{color:#333!important}@media (max-width: 768px){.faqItem[_ngcontent-%COMP%]{margin-top:15px}.faqItem[_ngcontent-%COMP%] .summary[_ngcontent-%COMP%]{min-height:75px;padding:20px 35px 20px 45px;width:100%;font-size:16px;line-height:17px;letter-spacing:.8px;display:flex;align-items:center;position:relative;background:#FFFFFF;font-weight:900;border-radius:3px}.faqItem[_ngcontent-%COMP%] .details[_ngcontent-%COMP%]{font-size:14px;line-height:17px}}'],changeDetection:0}),Z})(),K=(()=>{class Z{static transform(ne,q,F,j){return(ne.match(/\[faq]([\S\s]+)\[\/faq]/g)||[]).forEach((R,x)=>{const V="FAQ-"+x,de=R.split("[faq-item]").map(T=>{var ie;return T.match(/([\s\S]+\[\/faq-item])/g)&&(null===(ie=T.match(/([\s\S]+\[\/faq-item])/g))||void 0===ie?void 0:ie.pop())}).filter(T=>T).map(T=>{const ie=/(?:\[question])([\s\S]+)(?:\[\/question])/g.exec((T||"").toString()),re=/(?:\[answer])([\s\S]+)(?:\[\/answer])/g.exec((T||"").toString());return{question:ie&&ie.pop()||"",answer:re&&re.pop()||""}});ne=ne.replace(/\[faq]([\S\s]+)\[\/faq]/g,`
`),setTimeout(()=>{const T=j.getElementById(V);if(T){const re=q.resolveComponentFactory(L).create(F.injector,void 0,T);re.instance.faq=de,re.changeDetectorRef.detectChanges()}},0)}),ne}}return Z.\u0275fac=function(ne){return new(ne||Z)},Z.\u0275pipe=d.Yjl({name:"renderFaq",type:Z,pure:!0}),Z})()},959:(je,ce,D)=>{"use strict";D.d(ce,{H:()=>Z});var p=D(7587),d=D(8730);const G=function(U){return["","go",U]},L=function(){return{page:"_final_card_button_"}};let K=(()=>{class U{constructor(){this.final=[]}get title(){var q;return null===(q=this.final[0])||void 0===q?void 0:q.title}get text(){var q;return null===(q=this.final[0])||void 0===q?void 0:q.text}get url(){var q;return null===(q=this.final[0])||void 0===q?void 0:q.url}get name(){var q;return null===(q=this.final[0])||void 0===q?void 0:q.reviewTitle}}return U.\u0275fac=function(q){return new(q||U)},U.\u0275cmp=p.Xpm({type:U,selectors:[["final-card-component"]],decls:6,vars:8,consts:[[1,"card"],["src","/assets/card_label_split.svg"],[1,"title",3,"innerHTML"],[1,"text",3,"innerHTML"],["target","_blank",1,"button_visit",3,"routerLink","queryParams"]],template:function(q,F){1&q&&(p.TgZ(0,"div",0),p._UZ(1,"img",1)(2,"h2",2)(3,"p",3),p.TgZ(4,"a",4),p._uU(5),p.qZA()()),2&q&&(p.xp6(2),p.Q6J("innerHTML",F.title,p.oJD),p.xp6(1),p.Q6J("innerHTML",F.text,p.oJD),p.xp6(1),p.Q6J("routerLink",p.VKq(5,G,F.url))("queryParams",p.DdM(7,L)),p.xp6(1),p.hij("Visit ",F.name,""))},directives:[d.yS],styles:[".card[_ngcontent-%COMP%]{position:relative;padding:30px 15px 22px;background:#623D66;width:calc(100% + 30px);margin:25px 0 20px -15px}.card[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{position:absolute;top:-20px;margin-bottom:0;width:64px;border-radius:0;right:16px;height:64px}.card[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin-bottom:15px}.card[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] {color:#fff;font-family:Lato;font-size:16px;font-style:normal;font-weight:800;line-height:24px;letter-spacing:.8px}.card[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] p, .card[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] span, .card[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] div, .card[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] h1, .card[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] h2, .card[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] h3, .card[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] h4{color:#fff!important;font-family:Lato;font-size:16px;font-style:normal;font-weight:800;line-height:24px;letter-spacing:.8px;margin-bottom:0}.card[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{margin-bottom:15px}.card[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] {color:#fff!important;font-family:Lato;font-size:16px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.8px}.card[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] p, .card[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] span, .card[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] div, .card[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] h1, .card[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] h2, .card[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] h3, .card[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] h4{color:#fff!important;font-family:Lato;font-size:16px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.8px;margin-bottom:0}.card[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] p strong, .card[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] span strong, .card[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] div strong, .card[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] h1 strong, .card[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] h2 strong, .card[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] h3 strong, .card[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] h4 strong{color:#f02d3a!important}.card[_ngcontent-%COMP%] .button_visit[_ngcontent-%COMP%]{border-radius:8px;background:#F02D3A;width:100%;color:#fff}"]}),U})(),Z=(()=>{class U{static transform(q,F,j,O,R="",x){return(q.match(/\[final]([\S\s]+)\[\/final]/g)||[]).forEach((de,T)=>{const ie="final-"+R+T,re=de.split("[card]").map(fe=>{var oe;return fe.match(/([\s\S]+\[\/card])/g)&&(null===(oe=fe.match(/([\s\S]+\[\/card])/g))||void 0===oe?void 0:oe.pop())}).filter(fe=>fe).map(fe=>{const oe=/(?:\[text])([\s\S]+)(?:\[\/text])/g.exec(fe||""),k=/(?:\[title])([\s\S]+)(?:\[\/title])/g.exec(fe||"");return{text:oe&&oe.pop()||"",title:k&&k.pop()||"",url:R||"",reviewTitle:x||""}});q=q.replace(/\[final]([\S\s]+)\[\/final]/g,`
`),setTimeout(()=>{const fe=O.getElementById(ie);if(fe){const k=F.resolveComponentFactory(K).create(j.injector,void 0,fe);k.instance.final=re,k.changeDetectorRef.detectChanges()}},0)}),q}}return U.\u0275fac=function(q){return new(q||U)},U.\u0275pipe=p.Yjl({name:"renderFinal",type:U,pure:!0}),U})()},4233:(je,ce,D)=>{"use strict";D.d(ce,{Q:()=>q});var p=D(7587),d=D(9808);function G(F,j){1&F&&(p.TgZ(0,"p",6),p._uU(1,"Girls age"),p.qZA())}function L(F,j){1&F&&(p.TgZ(0,"p",6),p._uU(1,"Girls online"),p.qZA())}function K(F,j){1&F&&(p.TgZ(0,"p",6),p._uU(1,"Best for"),p.qZA())}function Z(F,j){1&F&&(p.TgZ(0,"p",6),p._uU(1,"Pricing"),p.qZA())}function U(F,j){if(1&F&&(p.TgZ(0,"div",2),p._UZ(1,"img",3),p.YNc(2,G,2,0,"p",4),p.YNc(3,L,2,0,"p",4),p.YNc(4,K,2,0,"p",4),p.YNc(5,Z,2,0,"p",4),p._UZ(6,"p",5),p.qZA()),2&F){const O=j.$implicit,R=j.index;p.Q6J("ngSwitch",R),p.xp6(1),p.Q6J("src","/assets/props_"+(R+1)+".svg",p.LSH),p.xp6(1),p.Q6J("ngSwitchCase",0),p.xp6(1),p.Q6J("ngSwitchCase",1),p.xp6(1),p.Q6J("ngSwitchCase",2),p.xp6(1),p.Q6J("ngSwitchCase",3),p.xp6(1),p.Q6J("innerHTML",O.text,p.oJD)}}let ne=(()=>{class F{constructor(){this.props=[]}}return F.\u0275fac=function(O){return new(O||F)},F.\u0275cmp=p.Xpm({type:F,selectors:[["client-props-component"]],inputs:{props:"props"},decls:2,vars:1,consts:[[1,"props"],["class","props-item",3,"ngSwitch",4,"ngFor","ngForOf"],[1,"props-item",3,"ngSwitch"],[3,"src"],["class","title",4,"ngSwitchCase"],[1,"text",3,"innerHTML"],[1,"title"]],template:function(O,R){1&O&&(p.TgZ(0,"div",0),p.YNc(1,U,7,7,"div",1),p.qZA()),2&O&&(p.xp6(1),p.Q6J("ngForOf",R.props))},directives:[d.sg,d.RF,d.n9],styles:[".props[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:10px 0}.props-item[_ngcontent-%COMP%]{max-width:calc(50% - 5px);width:100%;border-radius:15px;background:#FBEFFF;padding:15px}.props-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-radius:0;max-width:40px;width:100%;height:40px;margin-bottom:15px}.props-item[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{color:#121212!important;font-family:Lato;font-size:16px;font-style:normal;font-weight:800;line-height:24px;letter-spacing:.8px;margin-bottom:15px}.props-item[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] {color:#777!important;font-family:Lato;font-size:14px;font-style:normal;font-weight:400;line-height:20px;letter-spacing:.7px;margin-bottom:0}.props-item[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] p, .props-item[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] span, .props-item[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] div, .props-item[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] strong{color:#777!important;font-family:Lato;font-size:14px;font-style:normal;font-weight:400;line-height:20px;letter-spacing:.7px;margin-bottom:0}"]}),F})(),q=(()=>{class F{static transform(O,R,x,V,de=""){return(O.match(/\[props]([\S\s]+)\[\/props]/g)||[]).forEach((ie,re)=>{const fe="props-"+de+re,oe=ie.split("[item]").map(k=>{var Me;return k.match(/([\s\S]+\[\/item])/g)&&(null===(Me=k.match(/([\s\S]+\[\/item])/g))||void 0===Me?void 0:Me.pop())}).filter(k=>k).map(k=>{const Me=/(?:\[text])([\s\S]+)(?:\[\/text])/g.exec(k||"");return{text:Me&&Me.pop()||""}});O=O.replace(/\[props]([\S\s]+)\[\/props]/g,`
`),setTimeout(()=>{const k=V.getElementById(fe);if(k){const X=R.resolveComponentFactory(ne).create(x.injector,void 0,k);X.instance.props=oe,X.changeDetectorRef.detectChanges()}},0)}),O}}return F.\u0275fac=function(O){return new(O||F)},F.\u0275pipe=p.Yjl({name:"renderProps",type:F,pure:!0}),F})()},2549:(je,ce,D)=>{"use strict";D.d(ce,{M:()=>G});var p=D(7587);let d=(()=>{class L{constructor(){this.pros=[],this.cons=[]}get prosList(){var Z;return null===(Z=this.pros[0])||void 0===Z?void 0:Z.prosList}get consList(){var Z;return null===(Z=this.cons[0])||void 0===Z?void 0:Z.consList}}return L.\u0275fac=function(Z){return new(Z||L)},L.\u0275cmp=p.Xpm({type:L,selectors:[["client-props-cons-table-component"]],inputs:{pros:"pros",cons:"cons"},decls:9,vars:2,consts:[[1,"content"],[1,"pros"],[1,"title"],[1,"text",3,"innerHTML"],[1,"cons"]],template:function(Z,U){1&Z&&(p.TgZ(0,"div",0)(1,"div",1)(2,"h3",2),p._uU(3,"Pros"),p.qZA(),p._UZ(4,"div",3),p.qZA(),p.TgZ(5,"div",4)(6,"h3",2),p._uU(7,"Cons"),p.qZA(),p._UZ(8,"div",3),p.qZA()()),2&Z&&(p.xp6(4),p.Q6J("innerHTML",U.prosList,p.oJD),p.xp6(4),p.Q6J("innerHTML",U.consList,p.oJD))},styles:['.content[_ngcontent-%COMP%]{margin:15px 0}.content[_ngcontent-%COMP%] .pros[_ngcontent-%COMP%], .content[_ngcontent-%COMP%] .cons[_ngcontent-%COMP%]{border-radius:15px;background:#FBEFFF;display:flex;flex-direction:column;margin-bottom:15px}.content[_ngcontent-%COMP%] .pros[_ngcontent-%COMP%] .title[_ngcontent-%COMP%], .content[_ngcontent-%COMP%] .cons[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{width:100%;padding:10px 15px;border-radius:15px 15px 0 0;display:flex;color:#fff!important;font-family:Lato;font-size:16px;font-style:normal;font-weight:700;line-height:24px;letter-spacing:.8px;text-transform:uppercase;background:#F02D3A;margin-bottom:0}.content[_ngcontent-%COMP%] .pros[_ngcontent-%COMP%] .text[_ngcontent-%COMP%], .content[_ngcontent-%COMP%] .cons[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{padding:15px 15px 20px}.content[_ngcontent-%COMP%] .pros[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] ul, .content[_ngcontent-%COMP%] .cons[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] ul{margin-bottom:0}.content[_ngcontent-%COMP%] .pros[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] ul li, .content[_ngcontent-%COMP%] .cons[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] ul li{padding-left:16px;color:#121212!important;font-feature-settings:"liga" off;font-family:Lato;font-size:16px;font-style:normal;font-weight:400;line-height:22px;letter-spacing:.8px;margin-bottom:6px;padding-bottom:0;list-style:none;background-image:url(/assets/pros_icon.svg);background-repeat:no-repeat;background-position:0 6px;background-size:11px}.content[_ngcontent-%COMP%] .pros[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] ul li p, .content[_ngcontent-%COMP%] .pros[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] ul li span, .content[_ngcontent-%COMP%] .pros[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] ul li div, .content[_ngcontent-%COMP%] .cons[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] ul li p, .content[_ngcontent-%COMP%] .cons[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] ul li span, .content[_ngcontent-%COMP%] .cons[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] ul li div{color:#121212!important;font-feature-settings:"liga" off;font-family:Lato;font-size:16px;font-style:normal;font-weight:400;line-height:22px;letter-spacing:.8px;margin:0}.content[_ngcontent-%COMP%] .pros[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] ul li:nth-last-child(1), .content[_ngcontent-%COMP%] .cons[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] ul li:nth-last-child(1){margin-bottom:0}.content[_ngcontent-%COMP%] .cons[_ngcontent-%COMP%]{margin-bottom:0}.content[_ngcontent-%COMP%] .cons[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{background:#623D66}.content[_ngcontent-%COMP%] .cons[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] ul li{background-image:url(/assets/cons_icon.svg)}']}),L})(),G=(()=>{class L{static transform(Z,U,ne,q,F=""){return(Z.match(/\[pros-cons]([\S\s]+)\[\/pros-cons]/g)||[]).forEach((O,R)=>{const x="pros-cons-"+F+R,V=O.split("[pros]").map(T=>{var ie;return T.match(/([\s\S]+\[\/pros])/g)&&(null===(ie=T.match(/([\s\S]+\[\/pros])/g))||void 0===ie?void 0:ie.pop())}).filter(T=>T).map(T=>{const ie=/(?:\[pros-list])([\s\S]+)(?:\[\/pros-list])/g.exec(T||"");return{prosList:ie&&ie.pop()||""}}),de=O.split("[cons]").map(T=>{var ie;return T.match(/([\s\S]+\[\/cons])/g)&&(null===(ie=T.match(/([\s\S]+\[\/cons])/g))||void 0===ie?void 0:ie.pop())}).filter(T=>T).map(T=>{const ie=/(?:\[cons-list])([\s\S]+)(?:\[\/cons-list])/g.exec(T||"");return{consList:ie&&ie.pop()||""}});Z=Z.replace(/\[pros-cons]([\S\s]+)\[\/pros-cons]/g,`
`),setTimeout(()=>{const T=q.getElementById(x);if(T){const re=U.resolveComponentFactory(d).create(ne.injector,void 0,T);re.instance.pros=V,re.instance.cons=de,re.changeDetectorRef.detectChanges()}},0)}),Z}}return L.\u0275fac=function(Z){return new(Z||L)},L.\u0275pipe=p.Yjl({name:"renderProsCons",type:L,pure:!0}),L})()},8118:(je,ce,D)=>{"use strict";D.d(ce,{A:()=>L});var p=D(1471),d=D(7587),G=D(2313);let L=(()=>{class K{constructor(U){this.sanitizer=U,this.pageType=p.c}transform(U,ne){return U&&(U=U.replace(/.*?<\/script>/gi,"").replace(//gi,""),ne!==this.pageType.PRIVACY&&(U=U.replace(/style=".*?"|style='.*?'/gi,"")),this.sanitizer.bypassSecurityTrustHtml(U))}}return K.\u0275fac=function(U){return new(U||K)(d.Y36(G.H7,16))},K.\u0275pipe=d.Yjl({name:"sanitize",type:K,pure:!0}),K})()},823:(je,ce,D)=>{"use strict";D.d(ce,{G:()=>F});var p=D(7587),d=D(2313),G=D(9646),L=D(8505),K=D(262),Z=D(2639),U=D(9698),ne=D(520),q=D(1523);let F=(()=>{class j{constructor(R,x,V,de){this.errorService=R,this.httpClient=x,this.cookieService=V,this.state=de,this.CATEGORIES_URL=`${U.k.API_DOMAIN}${U.k.URLS.CATEGORIES_URL}`}get autocorrectKeyWord(){const R=this.cookieService.get("query"),x=R&&JSON.parse(R);return x&&x.keyword}get(R,x){const V=(0,d.Cb)(`category_${R}`),de=this.state.get(V,null);return de?(0,G.of)({success:!0,data:Object.assign({},de)}):this.httpClient.get(this.CATEGORIES_URL+R,{params:Object.assign({},x)}).pipe((0,L.b)(T=>{T.success&&T.data&&this.state.set(V,Object.assign({},T.data))}),(0,K.K)(this.errorService.handleError(`get category ${R}`)))}list(){const R=(0,d.Cb)("categories"),x=this.state.get(R,null);return x?(0,G.of)({success:!0,data:[...x]}):this.httpClient.get(this.CATEGORIES_URL).pipe((0,L.b)(V=>{V.success&&V.data&&this.state.set(R,[...V.data])}),(0,K.K)(this.errorService.handleError("list categories")))}}return j.\u0275fac=function(R){return new(R||j)(p.LFG((0,p.Gpc)(()=>Z.T)),p.LFG(ne.eN),p.LFG(q.F),p.LFG(d.ki))},j.\u0275prov=p.Yz7({token:j,factory:j.\u0275fac}),j})()},6793:(je,ce,D)=>{"use strict";D.d(ce,{j:()=>q});var p=D(7587),d=D(2313),G=D(9646),L=D(8505),K=D(262),Z=D(2639),U=D(9698),ne=D(520);let q=(()=>{class F{constructor(O,R,x){this.errorService=O,this.httpClient=R,this.state=x,this.PAGES_URL=`${U.k.API_DOMAIN}${U.k.URLS.PAGES_URL}`}get(O){const R=(0,d.Cb)(`page_${O}`),x=this.state.get(R,null);return x?(0,G.of)({success:!0,data:x}):this.httpClient.get(this.PAGES_URL+O).pipe((0,L.b)(V=>{V.success&&V.data&&this.state.set(R,Object.assign({},V.data))}),(0,K.K)(this.errorService.handleError(`get page ${O}`)))}}return F.\u0275fac=function(O){return new(O||F)(p.LFG((0,p.Gpc)(()=>Z.T)),p.LFG(ne.eN),p.LFG(d.ki))},F.\u0275prov=p.Yz7({token:F,factory:F.\u0275fac}),F})()},7092:(je,ce,D)=>{"use strict";D.d(ce,{P:()=>q});var p=D(7587),d=D(2313),G=D(9646),L=D(8505),K=D(262),Z=D(2639),U=D(9698),ne=D(520);let q=(()=>{class F{constructor(O,R,x){this.errorService=O,this.httpClient=R,this.state=x,this.POSTS_URL=`${U.k.API_DOMAIN}${U.k.URLS.POSTS_URL}`}get(O){const R=(0,d.Cb)(`post_${O}`),x=this.state.get(R,null);return x?(0,G.of)({success:!0,data:Object.assign({},x)}):this.httpClient.get(this.POSTS_URL+O).pipe((0,L.b)(V=>{V.success&&V.data&&this.state.set(R,Object.assign({},V.data))}),(0,K.K)(this.errorService.handleError(`get post ${O}`)))}list(O){const R=(0,d.Cb)(`posts_${O}`),x=this.state.get(R,null);return x?(0,G.of)({success:!0,data:[...x]}):this.httpClient.get(this.POSTS_URL,{params:{type:O}}).pipe((0,L.b)(V=>{V.success&&V.data&&this.state.set(R,[...V.data])}),(0,K.K)(this.errorService.handleError(`list posts ${O}`)))}}return F.\u0275fac=function(O){return new(O||F)(p.LFG((0,p.Gpc)(()=>Z.T)),p.LFG(ne.eN),p.LFG(d.ki))},F.\u0275prov=p.Yz7({token:F,factory:F.\u0275fac}),F})()},2063:(je,ce,D)=>{"use strict";D.d(ce,{Y:()=>q});var p=D(2313),d=D(9646),G=D(8505),L=D(262),K=D(9698),Z=D(7587),U=D(2639),ne=D(520);let q=(()=>{class F{constructor(O,R,x){this.errorService=O,this.httpClient=R,this.state=x,this.REVIEWS_URL=`${K.k.API_DOMAIN}${K.k.URLS.REVIEWS_URL}`}get(O){const R=(0,p.Cb)(`review_${O}`),x=this.state.get(R,null);return x?(0,d.of)({success:!0,data:Object.assign({},x)}):this.httpClient.get(this.REVIEWS_URL+O).pipe((0,G.b)(V=>{V.success&&V.data&&this.state.set(R,Object.assign({},V.data))}),(0,L.K)(this.errorService.handleError(`get review ${O}`)))}getLink(O,R){const x=(0,p.Cb)(`review_link_${O}_${R}`),V=this.state.get(x,null);return V?(0,d.of)({success:!0,data:Object.assign({},V)}):this.httpClient.get(`${this.REVIEWS_URL}link/${O}`,{params:{source:R}}).pipe((0,G.b)(de=>{de.success&&de.data&&this.state.set(x,Object.assign({},de.data))}),(0,L.K)(this.errorService.handleError(`get review link ${O}`)))}list(){const O=(0,p.Cb)("reviews"),R=this.state.get(O,null);return R?(0,d.of)({success:!0,data:[...R]}):this.httpClient.get(this.REVIEWS_URL).pipe((0,G.b)(x=>{x.success&&x.data&&this.state.set(O,[...x.data])}),(0,L.K)(this.errorService.handleError("get reviews")))}main(){const O=(0,p.Cb)("main_reviews"),R=this.state.get(O,null);return R?(0,d.of)({success:!0,data:[...R]}):this.httpClient.get(this.REVIEWS_URL).pipe((0,G.b)(x=>{x.success&&x.data&&this.state.set(O,[...x.data])}),(0,L.K)(this.errorService.handleError("main reviews")))}topReviews(O){return this.httpClient.get(`${this.REVIEWS_URL}top`,{params:{extractReviewUrl:O}}).pipe((0,L.K)(this.errorService.handleError("top reviews")))}}return F.\u0275fac=function(O){return new(O||F)(Z.LFG(U.T),Z.LFG(ne.eN),Z.LFG(p.ki))},F.\u0275prov=Z.Yz7({token:F,factory:F.\u0275fac}),F})()},2639:(je,ce,D)=>{"use strict";D.d(ce,{T:()=>K});var p=D(7587),d=D(9646),G=D(5542),L=D(2340);let K=(()=>{class Z{constructor(ne){this.objectViewPipe=ne}handleError(ne="operation"){return q=>(L.N.production||console.log(`${ne} failed: ${this.objectViewPipe.transform(q.error||q)}`),(0,d.of)(q.error||q))}}return Z.\u0275fac=function(ne){return new(ne||Z)(p.LFG((0,p.Gpc)(()=>G.D)))},Z.\u0275prov=p.Yz7({token:Z,factory:Z.\u0275fac}),Z})()},6573:(je,ce,D)=>{"use strict";D.d(ce,{m:()=>Us});var p=D(9808),d=D(7587);D(2076),D(8306),D(4742),D(8421),D(3269),D(5403),D(3268),D(1810),D(4004);let ii=(()=>{class v{}return v.\u0275fac=function(f){return new(f||v)},v.\u0275mod=d.oAB({type:v}),v.\u0275inj=d.cJS({}),v})();const yi=new d.OlP("NgModelWithFormControlWarning");let vn=(()=>{class v{}return v.\u0275fac=function(f){return new(f||v)},v.\u0275mod=d.oAB({type:v}),v.\u0275inj=d.cJS({imports:[[ii]]}),v})(),rr=(()=>{class v{}return v.\u0275fac=function(f){return new(f||v)},v.\u0275mod=d.oAB({type:v}),v.\u0275inj=d.cJS({imports:[vn]}),v})(),mr=(()=>{class v{static withConfig(f){return{ngModule:v,providers:[{provide:yi,useValue:f.warnOnNgModelWithFormControl}]}}}return v.\u0275fac=function(f){return new(f||v)},v.\u0275mod=d.oAB({type:v}),v.\u0275inj=d.cJS({imports:[vn]}),v})();var gt=D(8730),bi=D(7788);D(8982),D(7582);let Gi=(()=>{let v=class{};return v.\u0275fac=function(f){return new(f||v)},v.\u0275mod=d.oAB({type:v}),v.\u0275inj=d.cJS({}),v})();var Qo=D(8225);let Mi=(()=>{class v{transform(f){return(f.match(//gi)||[]).forEach(we=>{f=f.replace(we,we.replace("src","data-src"))}),f}}return v.\u0275fac=function(f){return new(f||v)},v.\u0275pipe=d.Yjl({name:"lazyLoadingImages",type:v,pure:!0}),v})();var Ve=D(5542),Ct=D(6271),lo=D(959),tn=D(4233),Hr=D(2549),li=D(8118),kn=D(2313);let zi=(()=>{class v{constructor(f){this.sanitizer=f}transform(f){return this.sanitizer.bypassSecurityTrustStyle(f)}}return v.\u0275fac=function(f){return new(f||v)(d.Y36(kn.H7,16))},v.\u0275pipe=d.Yjl({name:"sanitizeStyle",type:v,pure:!0}),v})();var Wi=D(823),Bs=D(6793),qo=D(7092),$r=D(262),Ar=D(9698),ln=D(2639),Gn=D(520),uo=D(1523);let Gr=(()=>{class v{constructor(f,M,we){this.errorService=f,this.httpClient=M,this.cookieService=we,this.PUSH_NOTIFICATION_URL=`${Ar.k.API_DOMAIN}${Ar.k.URLS.PUSH_NOTIFICATION}`}getPayload(){const f=JSON.parse(this.cookieService.get("query")||"{}");return{partner:f.gclid||f.wbraid||f.msclkid||f.gbraids,source:"88",split:this.cookieService.get("splitMarkerClient")||this.cookieService.get("splitMarker"),browserLanguage:(null==navigator?void 0:navigator.language)||"unknown",trafficType:this.cookieService.get("trafficType")||"search"}}sendEvent(f){return this.httpClient.post(this.PUSH_NOTIFICATION_URL+f,this.getPayload()).pipe((0,$r.K)(this.errorService.handleError(`send event ${f}`)))}subscribe(f){return this.httpClient.post(this.PUSH_NOTIFICATION_URL+"subscribe",Object.assign(Object.assign({},this.getPayload()),{token:f})).pipe((0,$r.K)(this.errorService.handleError("subscribe")))}}return v.\u0275fac=function(f){return new(f||v)(d.LFG(ln.T),d.LFG(Gn.eN),d.LFG(uo.F))},v.\u0275prov=d.Yz7({token:v,factory:v.\u0275fac}),v})();var ir=D(9646),Xo=D(8505);let co=(()=>{class v{constructor(f,M,we){this.errorService=f,this.httpClient=M,this.state=we,this.QUIZ_URL=`${Ar.k.API_DOMAIN}${Ar.k.URLS.QUIZ_URL}`}get(f){const M=(0,kn.Cb)(`quiz_${f}`),we=this.state.get(M,null);return we?(0,ir.of)({success:!0,data:Object.assign({},we)}):this.httpClient.get(this.QUIZ_URL+f).pipe((0,Xo.b)(Ze=>{Ze.success&&Ze.data&&this.state.set(M,Object.assign({},Ze.data))}),(0,$r.K)(this.errorService.handleError(`get quiz ${f}`)))}}return v.\u0275fac=function(f){return new(f||v)(d.LFG((0,d.Gpc)(()=>ln.T)),d.LFG(Gn.eN),d.LFG(kn.ki))},v.\u0275prov=d.Yz7({token:v,factory:v.\u0275fac}),v})();var fo=D(2063);let Us=(()=>{class v{}return v.\u0275fac=function(f){return new(f||v)},v.\u0275mod=d.oAB({type:v}),v.\u0275inj=d.cJS({providers:[Ve.D,Mi,li.A,zi,Qo.w,tn.Q,Hr.M,lo.H,Ct.Z,ln.T,Wi.G,Bs.j,qo.P,fo.Y,co,Gr],imports:[[p.ez,Gi,bi.mZ.forRoot({preset:bi.CR}),gt.Bz,rr,mr],bi.mZ,Gi,gt.Bz]}),v})()},346:(je,ce,D)=>{"use strict";D.d(ce,{y:()=>Ce});var p=D(5861);const G={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let L;const K=new Uint8Array(16);function Z(){if(!L&&(L="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!L))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return L(K)}const U=[];for(let W=0;W<256;++W)U.push((W+256).toString(16).slice(1));const O=function j(W,He,Ge){if(G.randomUUID&&!He&&!W)return G.randomUUID();const et=(W=W||{}).random||(W.rng||Z)();if(et[6]=15&et[6]|64,et[8]=63&et[8]|128,He){Ge=Ge||0;for(let Y=0;Y<16;++Y)He[Ge+Y]=et[Y];return He}return function ne(W,He=0){return U[W[He+0]]+U[W[He+1]]+U[W[He+2]]+U[W[He+3]]+"-"+U[W[He+4]]+U[W[He+5]]+"-"+U[W[He+6]]+U[W[He+7]]+"-"+U[W[He+8]]+U[W[He+9]]+"-"+U[W[He+10]]+U[W[He+11]]+U[W[He+12]]+U[W[He+13]]+U[W[He+14]]+U[W[He+15]]}(et)};var R=D(1520),x=D(6805),de=D(9646),T=D(262),ie=D(9698),re=(()=>{return(W=re||(re={})).ERROR="error",W.PROXY="proxy",W.VNP="vpn",W.REAL="real",W.NOT_DETECTED="not_detected",W.BOT="bot",re;var W})(),oe=(()=>{return(W=oe||(oe={})).Opera="Opera",W.Safari="Safari",W.Edge="Edge",W.Chrome="Chrome",W.Firefox="Firefox",W.IE="IE",W.Browser360="Browser360",W.Samsung="Samsung",W.Android="Android",W.Brave="Brave",W.Chromium="Chromium",W.Mozilla="Mozilla",W.Unknown="Unknown",oe;var W})(),k=D(5834);function Me(){var W;if(!navigator)throw new Error("Detect os navigator does not exist");{const He=navigator.userAgent;switch(null===(W=new k.UAParser(He).getBrowser())||void 0===W?void 0:W.name){case"Chrome WebView":case"Chrome":return oe.Chrome;case"360 Browser":return oe.Browser360;case"Android Browser":return oe.Android;case"Brave":return oe.Brave;case"Chromium":return oe.Chromium;case"Edge":return oe.Edge;case"Samsung Internet":return oe.Samsung;case"Mozilla":return oe.Mozilla;case"Opera Coast":case"Opera [Mini/Mobi/Tablet]":case"Opera":return oe.Opera;case"Mobile Safari":case"Safari":return oe.Safari;case"Firefox":case"Firefox [Focus/Reality]":return oe.Firefox;default:return oe.Unknown}}}var X=(()=>{return(W=X||(X={})).Windows="Windows",W.Android="Android",W.IOS="IOS",W.Chromium="Chromium",W.Firefox="Firefox",W.MacOs="MacOs",W.Other="Other",X;var W})();function pe(){var W;if(!navigator)throw new Error("Detect os navigator does not exist");{const He=navigator.userAgent;switch(null===(W=new k.UAParser(He).getOS())||void 0===W?void 0:W.name){case"Android":return X.Android;case"iOS":return X.IOS;case"Windows":return X.Windows;case"Chromium OS":return X.Chromium;case"Firefox OS":return X.Firefox;case"Mac OS":return X.MacOs;default:return X.Other}}}function ae(W){return W.gclid||W.gbraid||W.wbraid||W.msclkid}var Ee=D(7587),ge=D(1523),Re=D(520);let Ce=(()=>{class W{constructor(Ge,et){this.cookieService=Ge,this.httpClient=et,this.IMPRESSION_URL=`${ie.k.API_DOMAIN}${ie.k.URLS.ANALYTICS.IMPRESSION_EVENT_URL}`,this.VISIT_URL=`${ie.k.API_DOMAIN}${ie.k.URLS.ANALYTICS.VISIT_EVENT_URL}`,this.USER_EVENTS_URL=`${ie.k.API_DOMAIN}${ie.k.URLS.ANALYTICS.USER_EVENTS_URL}`}get splitMarker(){return this.cookieService.get("splitMarkerClient")||this.cookieService.get("splitMarker")}get splitMarkerClient(){return this.cookieService.get("splitMarkerClient")}setSplitMarkerClient(Ge){this.cookieService.put("splitMarkerClient",Ge)}get userId(){let Ge=this.cookieService.get("userId");return Ge||(Ge=O(),this.cookieService.put("userId",Ge)),Ge}get trafficSourceData(){return JSON.parse(this.cookieService.get("query")||"{}")}upsertTrafficSourceData(Ge){const et=JSON.parse(this.cookieService.get("query")||"{}"),Y=Object.assign(Object.assign({},et),Ge);Y.gbraid=Ge.gbraid&&`${Ge.gbraid}---${this.userId}`||"",Y.wbraid=Ge.wbraid&&`${Ge.wbraid}---${this.userId}`||"",this.cookieService.put("query",JSON.stringify(Y))}getQueryParamsForRedirect(Ge){const et=Object.assign(Object.assign(Object.assign({},this.trafficSourceData),Ge),{split:this.splitMarker,ipCheck:this.cookieService.get("check")||re.NOT_DETECTED,placement:this.trafficSourceData.gbraid||this.trafficSourceData.wbraid||this.userId});return Object.keys(et).reduce((Y,ee)=>(Y?Y+"&":"")+`${ee}=${et[ee]}`,"")}sendImpression(Ge,et){const Y=this.cookieService.get("sendImpression"),ee=this.trafficSourceData,ve=ae(ee);Y!==ve&&(Y&&(ee.retarget=Y),ee.offers=et,ee.page=Ge,ee.split=this.splitMarker,ee.userId=this.userId,ee.fingerprint=R.sha256.hex(`${(()=>{var W,He;return window&&navigator&&screen?[navigator.userAgent||"",null===(W=navigator.languages)||void 0===W?void 0:W.join(""),window.devicePixelRatio||0,(new Date).getTimezoneOffset()||0,`${screen.availWidth}x${screen.availHeight}`,navigator.hardwareConcurrency||0,(null===(He=navigator.deviceMemory)||void 0===He?void 0:He.toString())||0,navigator.maxTouchPoints||0,navigator.cookieEnabled].reduce((qe,st)=>`${qe}_${st.toString()}`,""):""})()}___${(()=>{const W=null==document?void 0:document.createElement("canvas"),He=null==W?void 0:W.getContext("2d");if(He){He.textBaseline="top",He.font="14px 'Arial'",He.textBaseline="alphabetic",He.fillStyle="#f60",He.fillRect(125,1,62,20),He.fillStyle="#069",He.fillText("adw-fingerprint",2,15),He.fillStyle="rgba(102, 204, 0, 0.7)",He.fillText("adw-fingerprint",4,17);const Ge=W.toDataURL();return W.remove(),Ge}return""})()}`),this.httpClient.get(this.IMPRESSION_URL,{params:ee}).pipe((0,T.K)(De=>(console.log(JSON.stringify(De)),(0,de.of)(De.error)))).subscribe(De=>{De.success&&this.cookieService.put("sendImpression",ve||"")}))}sendVisit(Ge,et){var Y=this;return(0,p.Z)(function*(){const ee=Y.trafficSourceData;return function V(W,He){const Ge="object"==typeof He;return new Promise((et,Y)=>{let ve,ee=!1;W.subscribe({next:De=>{ve=De,ee=!0},error:Y,complete:()=>{ee?et(ve):Ge?et(He.defaultValue):Y(new x.K)}})})}(Y.httpClient.get(Y.VISIT_URL,{params:{offer:Ge||"",source:ee.source,sourceClid:ae(ee),position:et.pos||et.position,page:et.page,split:Y.splitMarker,userId:Y.userId}}).pipe((0,T.K)(ve=>(console.log(JSON.stringify(ve)),(0,de.of)(ve.error)))))})()}sendEvent(Ge){const Y=ae(this.trafficSourceData);if(!Y||!this.userId)return;const ee={name:Ge,clickId:Y,userId:this.userId,os:pe(),browser:Me()};return!!(null==navigator?void 0:navigator.sendBeacon)&&navigator.sendBeacon(this.USER_EVENTS_URL,new Blob([JSON.stringify(ee)],{type:"application/json"}))}}return W.\u0275fac=function(Ge){return new(Ge||W)(Ee.LFG(ge.F),Ee.LFG(Re.eN))},W.\u0275prov=Ee.Yz7({token:W,factory:W.\u0275fac}),W})()},1914:(je,ce,D)=>{"use strict";D.d(ce,{I:()=>G});var p=D(1135),d=D(7587);let G=(()=>{class L{constructor(){this.isShowPushNotification=new p.X(!1),this.isSmallStickyOfferSplit=new p.X(!1),this.isBigStickyOfferSplit=new p.X(!1)}handlePushNotification(Z){this.isShowPushNotification.next(Z)}handleSmallOfferSplit(Z){this.isSmallStickyOfferSplit.next(Z)}handleBigOfferSplit(Z){this.isBigStickyOfferSplit.next(Z)}}return L.\u0275fac=function(Z){return new(Z||L)},L.\u0275prov=d.Yz7({token:L,factory:L.\u0275fac}),L})()},1523:(je,ce,D)=>{"use strict";D.d(ce,{F:()=>G});var p=D(9698),d=D(7587);let G=(()=>{class L{constructor(){}get(Z){const U=document&&document.cookie&&document.cookie.match(new RegExp("(?:^|; )"+Z.replace(/([.$?*|{}()\[\]\\\/+^])/g,"\\$1")+"=([^;]*)"));return U&&U.length?decodeURIComponent(U[1]):""}getAll(){return document&&document.cookie&&document.cookie}put(Z,U,ne={path:"/",domain:p.k.ROOT_DOMAIN_NAME}){let q=`${Z}=${encodeURIComponent(U)}`;for(const F in ne)if(ne.hasOwnProperty(F)){q+="; "+F;const j=ne[F];!0!==j&&(q+="="+j)}document.cookie=q}putMany(Z,U={path:"/",domain:p.k.ROOT_DOMAIN_NAME}){let ne=Object.keys(Z).reduce((q,F)=>q+`${F}=${encodeURIComponent(Z[F])};`,"");for(const q in U)if(U.hasOwnProperty(q)){ne+="; "+q;const F=U[q];!0!==F&&(ne+="="+F)}document.cookie=ne}}return L.\u0275fac=function(Z){return new(Z||L)},L.\u0275prov=d.Yz7({token:L,factory:L.\u0275fac}),L})()},8257:(je,ce,D)=>{"use strict";D.d(ce,{R:()=>L});var p=D(9808),d=D(7587),G=D(2313);let L=(()=>{class K{constructor(U,ne,q){this.meta=U,this.metaTitle=ne,this.doc=q}set(U,ne,q){ne.url.includes(q)||(ne.url=q+ne.url),ne.image&&!ne.image.includes(q)&&(ne.image=q+ne.image),this.metaTitle.setTitle(U.title),this.meta.removeTag("name='twitter:image'"),this.meta.removeTag("property='og:image'"),[{name:"description",content:U.description||""},{name:"keywords",content:U.keywords||""},{property:"og:site_name",content:q||""},{property:"og:url",content:ne.url||""},{property:"og:title",content:U.title||""},{property:"og:description",content:U.description||""},{name:"twitter:card",content:"summary"},{name:"twitter:title",content:U.title||""},{name:"twitter:description",content:U.description||""}].forEach(O=>this.meta.updateTag(O)),this.meta.removeTag("name='robots'"),ne.noindex&&this.meta.addTag({name:"robots",content:"noindex,follow"}),ne.image&&this.meta.addTags([{property:"og:image",content:ne.image},{name:"twitter:image",content:ne.image}]);let j=this.doc.querySelector('[rel="canonical"]');j||(j=this.doc.createElement("link"),j.setAttribute("rel","canonical"),this.doc.head.appendChild(j)),j.setAttribute("href",ne.url)}}return K.\u0275fac=function(U){return new(U||K)(d.LFG(G.h_),d.LFG(G.Dx),d.LFG(p.K0))},K.\u0275prov=d.Yz7({token:K,factory:K.\u0275fac}),K})()},2340:(je,ce,D)=>{"use strict";D.d(ce,{N:()=>p});const p={production:!0,stage:!1}},9077:(je,ce,D)=>{"use strict";var p=D(2313),d=D(7587),G=D(8730),L=D(5861),K=D(346);let Z=(()=>{class ae{constructor(ge,Re){this.activatedRoute=ge,this.analyticsService=Re}ngOnInit(){var ge=this;this.activatedRoute.data.subscribe(function(){var Re=(0,L.Z)(function*(Ce){var W,He;const{queryParams:Ge}=ge.activatedRoute.snapshot;yield ge.analyticsService.sendVisit((null===(W=null==Ce?void 0:Ce.review)||void 0===W?void 0:W.clickRedirect)||"",Ge),window.location.href=(null===(He=Ce.review)||void 0===He?void 0:He.defaultLink)||""});return function(Ce){return Re.apply(this,arguments)}}())}}return ae.\u0275fac=function(ge){return new(ge||ae)(d.Y36(G.gz),d.Y36(K.y))},ae.\u0275cmp=d.Xpm({type:ae,selectors:[["client-go"]],decls:0,vars:0,template:function(ge,Re){},encapsulation:2}),ae})();var U=D(9646),ne=D(515),q=D(2722),F=D(5577),j=D(7579),O=D(2063),R=D(1523);let x=(()=>{class ae{constructor(ge,Re,Ce,W){this.reviewsService=ge,this.router=Re,this.cookieService=Ce,this.analyticsService=W,this.destroy=new j.x}resolve(ge,Re){const Ce=ge.paramMap.get("url")||"",{queryParams:W}=ge;return this.reviewsService.getLink(Ce,this.analyticsService.trafficSourceData.source).pipe((0,q.R)(this.destroy),(0,F.z)(Ge=>{if(Ge.success&&Ge.data&&Ge.data.defaultLink){const et=Ge.data.defaultLink;return Ge.data.defaultLink=`${et}${et.includes("?")?"&":"?"}${this.analyticsService.getQueryParamsForRedirect(W)}`,(0,U.of)(Ge.data)}return this.router.navigate(["/notfound"],{skipLocationChange:!0,queryParams:{url:Re.url}}),ne.E}))}ngOnDestroy(){this.destroy.next(!0),this.destroy.complete()}}return ae.\u0275fac=function(ge){return new(ge||ae)(d.LFG(O.Y),d.LFG(G.F0),d.LFG(R.F),d.LFG(K.y))},ae.\u0275prov=d.Yz7({token:ae,factory:ae.\u0275fac}),ae})();const V=[{path:"go/:url",component:Z,resolve:{review:x}},{path:"",loadChildren:()=>D.e(719).then(D.bind(D,8719)).then(ae=>ae.MainModule)}];let de=(()=>{class ae{}return ae.\u0275fac=function(ge){return new(ge||ae)},ae.\u0275mod=d.oAB({type:ae}),ae.\u0275inj=d.cJS({imports:[[G.Bz.forRoot(V,{urlUpdateStrategy:"deferred",initialNavigation:"enabled"})],G.Bz]}),ae})();var T=D(520);let ie=(()=>{class ae{}return ae.\u0275fac=function(ge){return new(ge||ae)},ae.\u0275cmp=d.Xpm({type:ae,selectors:[["client-root"]],decls:1,vars:0,template:function(ge,Re){1&ge&&d._UZ(0,"router-outlet")},directives:[G.lC],encapsulation:2}),ae})();var re=D(6573),fe=D(4004);const k=[{provide:T.TP,useClass:(()=>{class ae{constructor(ge){this.cookieService=ge}intercept(ge,Re){let Ce=ge.clone({withCredentials:!0});return Re.handle(Ce).pipe((0,fe.U)(W=>{if(W instanceof T.Zn){const He=W.headers.get("x-set-custom-data");if(He){const Ge=JSON.parse(He);this.cookieService.putMany(Ge)}}return W}))}}return ae.\u0275fac=function(ge){return new(ge||ae)(d.LFG(R.F))},ae.\u0275prov=d.Yz7({token:ae,factory:ae.\u0275fac}),ae})(),multi:!0}];var Me=D(8257),X=D(1914);let pe=(()=>{class ae{}return ae.\u0275fac=function(ge){return new(ge||ae)},ae.\u0275mod=d.oAB({type:ae,bootstrap:[ie]}),ae.\u0275inj=d.cJS({providers:[x,R.F,X.I,Me.R,K.y,k],imports:[[de,p.b2,p.Cu,T.JF,re.m]]}),ae})();D(2340).N.production&&(0,d.G48)(),p.q6().bootstrapModule(pe).catch(ae=>console.error(ae))},8982:()=>{!function(){"use strict";if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var ce=function(T){for(var ie=window.document,re=je(ie);re;)re=je(ie=re.ownerDocument);return ie}(),D=[],p=null,d=null;L.prototype.THROTTLE_TIMEOUT=100,L.prototype.POLL_INTERVAL=null,L.prototype.USE_MUTATION_OBSERVER=!0,L._setupCrossOriginUpdater=function(){return p||(p=function(T,ie){d=T&&ie?R(T,ie):{top:0,bottom:0,left:0,right:0,width:0,height:0},D.forEach(function(re){re._checkForIntersections()})}),p},L._resetCrossOriginUpdater=function(){p=null,d=null},L.prototype.observe=function(T){if(!this._observationTargets.some(function(re){return re.element==T})){if(!T||1!=T.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:T,entry:null}),this._monitorIntersections(T.ownerDocument),this._checkForIntersections()}},L.prototype.unobserve=function(T){this._observationTargets=this._observationTargets.filter(function(ie){return ie.element!=T}),this._unmonitorIntersections(T.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},L.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},L.prototype.takeRecords=function(){var T=this._queuedEntries.slice();return this._queuedEntries=[],T},L.prototype._initThresholds=function(T){var ie=T||[0];return Array.isArray(ie)||(ie=[ie]),ie.sort().filter(function(re,fe,oe){if("number"!=typeof re||isNaN(re)||re<0||re>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return re!==oe[fe-1]})},L.prototype._parseRootMargin=function(T){var re=(T||"0px").split(/\s+/).map(function(fe){var oe=/^(-?\d*\.?\d+)(px|%)$/.exec(fe);if(!oe)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(oe[1]),unit:oe[2]}});return re[1]=re[1]||re[0],re[2]=re[2]||re[0],re[3]=re[3]||re[1],re},L.prototype._monitorIntersections=function(T){var ie=T.defaultView;if(ie&&-1==this._monitoringDocuments.indexOf(T)){var re=this._checkForIntersections,fe=null,oe=null;if(this.POLL_INTERVAL?fe=ie.setInterval(re,this.POLL_INTERVAL):(U(ie,"resize",re,!0),U(T,"scroll",re,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in ie&&(oe=new ie.MutationObserver(re)).observe(T,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(T),this._monitoringUnsubscribes.push(function(){var X=T.defaultView;X&&(fe&&X.clearInterval(fe),ne(X,"resize",re,!0)),ne(T,"scroll",re,!0),oe&&oe.disconnect()}),T!=(this.root&&(this.root.ownerDocument||this.root)||ce)){var Me=je(T);Me&&this._monitorIntersections(Me.ownerDocument)}}},L.prototype._unmonitorIntersections=function(T){var ie=this._monitoringDocuments.indexOf(T);if(-1!=ie){var re=this.root&&(this.root.ownerDocument||this.root)||ce;if(!this._observationTargets.some(function(Me){var X=Me.element.ownerDocument;if(X==T)return!0;for(;X&&X!=re;){var pe=je(X);if((X=pe&&pe.ownerDocument)==T)return!0}return!1})){var oe=this._monitoringUnsubscribes[ie];if(this._monitoringDocuments.splice(ie,1),this._monitoringUnsubscribes.splice(ie,1),oe(),T!=re){var k=je(T);k&&this._unmonitorIntersections(k.ownerDocument)}}}},L.prototype._unmonitorAllIntersections=function(){var T=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var ie=0;ie=0&&X>=0&&{top:re,bottom:fe,left:oe,right:k,width:Me,height:X}||null}function F(T){var ie;try{ie=T.getBoundingClientRect()}catch(re){}return ie?(ie.width&&ie.height||(ie={top:ie.top,right:ie.right,bottom:ie.bottom,left:ie.left,width:ie.right-ie.left,height:ie.bottom-ie.top}),ie):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function O(T){return!T||"x"in T?T:{top:T.top,y:T.top,bottom:T.bottom,left:T.left,x:T.left,right:T.right,width:T.width,height:T.height}}function R(T,ie){var re=ie.top-T.top,fe=ie.left-T.left;return{top:re,left:fe,height:ie.height,width:ie.width,bottom:re+ie.height,right:fe+ie.width}}function x(T,ie){for(var re=ie;re;){if(re==T)return!0;re=V(re)}return!1}function V(T){var ie=T.parentNode;return 9==T.nodeType&&T!=ce?je(T):(ie&&ie.assignedSlot&&(ie=ie.assignedSlot.parentNode),ie&&11==ie.nodeType&&ie.host?ie.host:ie)}function de(T){return T&&9===T.nodeType}}()},1520:(je,ce,D)=>{var p;!function(){"use strict";var d="input is invalid type",G="object"==typeof window,L=G?window:{};L.JS_SHA256_NO_WINDOW&&(G=!1);var K=!G&&"object"==typeof self,Z=!L.JS_SHA256_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;Z?L=global:K&&(L=self);var U=!L.JS_SHA256_NO_COMMON_JS&&je.exports,ne=D.amdO,q=!L.JS_SHA256_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,F="0123456789abcdef".split(""),j=[-2147483648,8388608,32768,128],O=[24,16,8,0],R=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],x=["hex","array","digest","arrayBuffer"],V=[];(L.JS_SHA256_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(X){return"[object Array]"===Object.prototype.toString.call(X)}),q&&(L.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(X){return"object"==typeof X&&X.buffer&&X.buffer.constructor===ArrayBuffer});var de=function(X,pe){return function(ye){return new oe(pe,!0).update(ye)[X]()}},T=function(X){var pe=de("hex",X);Z&&(pe=ie(pe,X)),pe.create=function(){return new oe(X)},pe.update=function(Ee){return pe.create().update(Ee)};for(var ye=0;ye>>6,ge[Ce++]=128|63&W):W<55296||W>=57344?(ge[Ce++]=224|W>>>12,ge[Ce++]=128|W>>>6&63,ge[Ce++]=128|63&W):(W=65536+((1023&W)<<10|1023&X.charCodeAt(++ae)),ge[Ce++]=240|W>>>18,ge[Ce++]=128|W>>>12&63,ge[Ce++]=128|W>>>6&63,ge[Ce++]=128|63&W);X=ge}else{if("object"!==Ee)throw new Error(d);if(null===X)throw new Error(d);if(q&&X.constructor===ArrayBuffer)X=new Uint8Array(X);else if(!(Array.isArray(X)||q&&ArrayBuffer.isView(X)))throw new Error(d)}X.length>64&&(X=new oe(pe,!0).update(X).array());var He=[],Ge=[];for(ae=0;ae<64;++ae){var et=X[ae]||0;He[ae]=92^et,Ge[ae]=54^et}oe.call(this,pe,ye),this.update(Ge),this.oKeyPad=He,this.inner=!0,this.sharedMemory=ye}oe.prototype.update=function(X){if(!this.finalized){var pe,ye=typeof X;if("string"!==ye){if("object"!==ye)throw new Error(d);if(null===X)throw new Error(d);if(q&&X.constructor===ArrayBuffer)X=new Uint8Array(X);else if(!(Array.isArray(X)||q&&ArrayBuffer.isView(X)))throw new Error(d);pe=!0}for(var ae,ge,Ee=0,Re=X.length,Ce=this.blocks;Ee>>2]|=X[Ee]<>>2]|=ae<>>2]|=(192|ae>>>6)<>>2]|=(128|63&ae)<=57344?(Ce[ge>>>2]|=(224|ae>>>12)<>>2]|=(128|ae>>>6&63)<>>2]|=(128|63&ae)<>>2]|=(240|ae>>>18)<>>2]|=(128|ae>>>12&63)<>>2]|=(128|ae>>>6&63)<>>2]|=(128|63&ae)<=64?(this.block=Ce[16],this.start=ge-64,this.hash(),this.hashed=!0):this.start=ge}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},oe.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var X=this.blocks,pe=this.lastByteIndex;X[16]=this.block,X[pe>>>2]|=j[3&pe],this.block=X[16],pe>=56&&(this.hashed||this.hash(),X[0]=this.block,X[16]=X[1]=X[2]=X[3]=X[4]=X[5]=X[6]=X[7]=X[8]=X[9]=X[10]=X[11]=X[12]=X[13]=X[14]=X[15]=0),X[14]=this.hBytes<<3|this.bytes>>>29,X[15]=this.bytes<<3,this.hash()}},oe.prototype.hash=function(){var He,ee,Ne,Oe,Ue,qe,X=this.h0,pe=this.h1,ye=this.h2,ae=this.h3,Ee=this.h4,ge=this.h5,Re=this.h6,Ce=this.h7,W=this.blocks;for(He=16;He<64;++He)W[He]=W[He-16]+(((ee=W[He-15])>>>7|ee<<25)^(ee>>>18|ee<<14)^ee>>>3)+W[He-7]+(((ee=W[He-2])>>>17|ee<<15)^(ee>>>19|ee<<13)^ee>>>10)<<0;for(qe=pe&ye,He=0;He<64;He+=4)this.first?(this.is224?(Ne=300032,Ce=(ee=W[0]-1413257819)-150054599<<0,ae=ee+24177077<<0):(Ne=704751109,Ce=(ee=W[0]-210244248)-1521486534<<0,ae=ee+143694565<<0),this.first=!1):(Ce=ae+(ee=Ce+((Ee>>>6|Ee<<26)^(Ee>>>11|Ee<<21)^(Ee>>>25|Ee<<7))+(Ee&ge^~Ee&Re)+R[He]+W[He])<<0,ae=ee+(((X>>>2|X<<30)^(X>>>13|X<<19)^(X>>>22|X<<10))+((Ne=X&pe)^X&ye^qe))<<0),Re=ye+(ee=Re+((Ce>>>6|Ce<<26)^(Ce>>>11|Ce<<21)^(Ce>>>25|Ce<<7))+(Ce&Ee^~Ce&ge)+R[He+1]+W[He+1])<<0,ye=ee+(((ae>>>2|ae<<30)^(ae>>>13|ae<<19)^(ae>>>22|ae<<10))+((Oe=ae&X)^ae&pe^Ne))<<0,ge=pe+(ee=ge+((Re>>>6|Re<<26)^(Re>>>11|Re<<21)^(Re>>>25|Re<<7))+(Re&Ce^~Re&Ee)+R[He+2]+W[He+2])<<0,pe=ee+(((ye>>>2|ye<<30)^(ye>>>13|ye<<19)^(ye>>>22|ye<<10))+((Ue=ye&ae)^ye&X^Oe))<<0,Ee=X+(ee=Ee+((ge>>>6|ge<<26)^(ge>>>11|ge<<21)^(ge>>>25|ge<<7))+(ge&Re^~ge&Ce)+R[He+3]+W[He+3])<<0,X=ee+(((pe>>>2|pe<<30)^(pe>>>13|pe<<19)^(pe>>>22|pe<<10))+((qe=pe&ye)^pe&ae^Ue))<<0,this.chromeBugWorkAround=!0;this.h0=this.h0+X<<0,this.h1=this.h1+pe<<0,this.h2=this.h2+ye<<0,this.h3=this.h3+ae<<0,this.h4=this.h4+Ee<<0,this.h5=this.h5+ge<<0,this.h6=this.h6+Re<<0,this.h7=this.h7+Ce<<0},oe.prototype.toString=oe.prototype.hex=function(){this.finalize();var X=this.h0,pe=this.h1,ye=this.h2,ae=this.h3,Ee=this.h4,ge=this.h5,Re=this.h6,Ce=this.h7,W=F[X>>>28&15]+F[X>>>24&15]+F[X>>>20&15]+F[X>>>16&15]+F[X>>>12&15]+F[X>>>8&15]+F[X>>>4&15]+F[15&X]+F[pe>>>28&15]+F[pe>>>24&15]+F[pe>>>20&15]+F[pe>>>16&15]+F[pe>>>12&15]+F[pe>>>8&15]+F[pe>>>4&15]+F[15&pe]+F[ye>>>28&15]+F[ye>>>24&15]+F[ye>>>20&15]+F[ye>>>16&15]+F[ye>>>12&15]+F[ye>>>8&15]+F[ye>>>4&15]+F[15&ye]+F[ae>>>28&15]+F[ae>>>24&15]+F[ae>>>20&15]+F[ae>>>16&15]+F[ae>>>12&15]+F[ae>>>8&15]+F[ae>>>4&15]+F[15&ae]+F[Ee>>>28&15]+F[Ee>>>24&15]+F[Ee>>>20&15]+F[Ee>>>16&15]+F[Ee>>>12&15]+F[Ee>>>8&15]+F[Ee>>>4&15]+F[15&Ee]+F[ge>>>28&15]+F[ge>>>24&15]+F[ge>>>20&15]+F[ge>>>16&15]+F[ge>>>12&15]+F[ge>>>8&15]+F[ge>>>4&15]+F[15&ge]+F[Re>>>28&15]+F[Re>>>24&15]+F[Re>>>20&15]+F[Re>>>16&15]+F[Re>>>12&15]+F[Re>>>8&15]+F[Re>>>4&15]+F[15&Re];return this.is224||(W+=F[Ce>>>28&15]+F[Ce>>>24&15]+F[Ce>>>20&15]+F[Ce>>>16&15]+F[Ce>>>12&15]+F[Ce>>>8&15]+F[Ce>>>4&15]+F[15&Ce]),W},oe.prototype.array=oe.prototype.digest=function(){this.finalize();var X=this.h0,pe=this.h1,ye=this.h2,ae=this.h3,Ee=this.h4,ge=this.h5,Re=this.h6,Ce=this.h7,W=[X>>>24&255,X>>>16&255,X>>>8&255,255&X,pe>>>24&255,pe>>>16&255,pe>>>8&255,255&pe,ye>>>24&255,ye>>>16&255,ye>>>8&255,255&ye,ae>>>24&255,ae>>>16&255,ae>>>8&255,255&ae,Ee>>>24&255,Ee>>>16&255,Ee>>>8&255,255&Ee,ge>>>24&255,ge>>>16&255,ge>>>8&255,255&ge,Re>>>24&255,Re>>>16&255,Re>>>8&255,255&Re];return this.is224||W.push(Ce>>>24&255,Ce>>>16&255,Ce>>>8&255,255&Ce),W},oe.prototype.arrayBuffer=function(){this.finalize();var X=new ArrayBuffer(this.is224?28:32),pe=new DataView(X);return pe.setUint32(0,this.h0),pe.setUint32(4,this.h1),pe.setUint32(8,this.h2),pe.setUint32(12,this.h3),pe.setUint32(16,this.h4),pe.setUint32(20,this.h5),pe.setUint32(24,this.h6),this.is224||pe.setUint32(28,this.h7),X},(k.prototype=new oe).finalize=function(){if(oe.prototype.finalize.call(this),this.inner){this.inner=!1;var X=this.array();oe.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(X),oe.prototype.finalize.call(this)}};var Me=T();Me.sha256=Me,Me.sha224=T(!0),Me.sha256.hmac=fe(),Me.sha224.hmac=fe(!0),U?je.exports=Me:(L.sha256=Me.sha256,L.sha224=Me.sha224,ne&&void 0!==(p=function(){return Me}.call(Me,D,Me,je))&&(je.exports=p))}()},7788:(je,ce,D)=>{"use strict";D.d(ce,{z1:()=>ot,mZ:()=>Se,CR:()=>yt});var p=D(9808),d=D(7587),G=D(7579),L=D(6063);class K extends G.x{constructor(me=1/0,Fe=1/0,We=L.l){super(),this._bufferSize=me,this._windowTime=Fe,this._timestampProvider=We,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=Fe===1/0,this._bufferSize=Math.max(1,me),this._windowTime=Math.max(1,Fe)}next(me){const{isStopped:Fe,_buffer:We,_infiniteTimeWindow:ke,_timestampProvider:Ke,_windowTime:lt}=this;Fe||(We.push(me),!ke&&We.push(Ke.now()+lt)),this._trimBuffer(),super.next(me)}_subscribe(me){this._throwIfClosed(),this._trimBuffer();const Fe=this._innerSubscribe(me),{_infiniteTimeWindow:We,_buffer:ke}=this,Ke=ke.slice();for(let lt=0;lt{const Fe=me.parentElement.getElementsByTagName("source");for(let We=0;We{He(me)&&W(me)&&le(me),Fe&&Ge(me,Fe,We)}}const Ne=De(Y),Oe=De(ee),Ue=De(ve),Ut={finally:({element:le})=>ge(le,"ng-lazyloaded"),loadImage:({element:le,useSrcset:me,imagePath:Fe})=>{let We;return He(le)&&W(le)?(We=le.parentNode.cloneNode(!0).getElementsByTagName("img")[0],ee(We),Ge(We,Fe,me)):(We=new Image,He(le)&&le.sizes&&(We.sizes=le.sizes),me?We.srcset=Fe:We.src=Fe),Z.y.create(ke=>{We.onload=()=>{ke.next(Fe),ke.complete()},We.onerror=Ke=>{ke.error(null)}})},setErrorImage:({element:le,errorImagePath:me,useSrcset:Fe})=>{Ue(le,me,Fe),ge(le,"ng-failed-lazyloaded")},setLoadedImage:({element:le,imagePath:me,useSrcset:Fe})=>{Oe(le,me,Fe)},setup:({element:le,defaultImagePath:me,useSrcset:Fe})=>{Ne(le,me,Fe),function Re(le,me){return le.className&&le.className.includes(me)}(le,"ng-lazyloaded")&&function Ee(le,me){le.className=le.className.replace(me,"")}(le,"ng-lazyloaded")}};class tt{constructor(me,Fe,We,ke){this.left=me,this.top=Fe,this.right=We,this.bottom=ke}static fromElement(me){const{left:Fe,top:We,right:ke,bottom:Ke}=me.getBoundingClientRect();return 0===Fe&&0===We&&0===ke&&0===Ke?tt.empty:new tt(Fe,We,ke,Ke)}static fromWindow(me){return new tt(0,0,me.innerWidth,me.innerHeight)}inflate(me){this.left-=me,this.top-=me,this.right+=me,this.bottom+=me}intersectsWith(me){return me.left=Fe&&Ke>=We?new tt(Fe,We,ke,Ke):tt.empty}}tt.empty=new tt(0,0,0,0);const It=new WeakMap,Gt=le=>{if(!le||"function"!=typeof le.addEventListener)return Ce()&&console.warn("`addEventListener` on "+le+" (scrollTarget) is not a function. Skipping this target"),(0,U.c)();if(It.has(le))return It.get(le);const Fe=function wt(le,me){return le.pipe(function de(le,me=q.z){return function R(le){return(0,F.e)((me,Fe)=>{let We=!1,ke=null;me.subscribe((0,O.x)(Fe,Ke=>{We=!0,ke=Ke})),le.subscribe((0,O.x)(Fe,()=>{if(We){We=!1;const Ke=ke;ke=null,Fe.next(Ke)}},j.Z))})}(function V(le=0,me=q.z){return le<0&&(le=0),(0,x.H)(le,le,me)}(le,me))}(100,me),(0,T.B)(),(0,ie.O)(""))}(Z.y.create(We=>{const Ke=gn=>We.next(gn),lt={passive:!0,capture:!1};return le.addEventListener("scroll",Ke,lt),()=>le.removeEventListener("scroll",Ke,lt)}));return It.set(le,Fe),Fe},bt=Object.assign({},Ut,{isVisible:({element:le,offset:me,scrollContainer:Fe},We=(()=>window))=>{const ke=tt.fromElement(le);if(ke===tt.empty)return!1;const Ke=tt.fromWindow(We());if(ke.inflate(me),Fe){const gn=tt.fromElement(Fe).getIntersectionWith(Ke);return ke.intersectsWith(gn)}return ke.intersectsWith(Ke)},getObservable:le=>le.scrollObservable?le.scrollObservable.pipe((0,ie.O)("")):Gt(le.scrollContainer?le.scrollContainer:Ce()?window:void 0)});let ot=(()=>{class le{constructor(Fe,We,ke,Ke){this.platformId=ke,this.onLoad=new d.vpe,this.elementRef=Fe,this.ngZone=We,this.propertyChanges$=new K,this.hooks=function Ft(le){if(!le)return bt;const me={};return Object.assign(me,le.preset?le.preset:bt),Object.keys(le).filter(Fe=>"preset"!==Fe).forEach(Fe=>{me[Fe]=le[Fe]}),me}(Ke)}ngOnChanges(){this.propertyChanges$.next({element:this.elementRef.nativeElement,imagePath:this.lazyImage,defaultImagePath:this.defaultImage,errorImagePath:this.errorImage,useSrcset:this.useSrcset,offset:0|this.offset,scrollContainer:this.scrollTarget,scrollObservable:this.scrollObservable})}ngAfterContentInit(){if((0,p.PM)(this.platformId))return this.scrollSubscription=this.propertyChanges$.pipe((0,k.b)(Fe=>this.hooks.setup(Fe)),(0,pe.P)()).subscribe(),null;this.ngZone.runOutsideAngular(()=>{this.scrollSubscription=this.propertyChanges$.pipe((0,k.b)(Fe=>this.hooks.setup(Fe)),(0,ye.w)(Fe=>this.hooks.getObservable(Fe).pipe(function Sn(le,me){return Fe=>Fe.pipe((0,re.h)(We=>le.isVisible({element:me.element,event:We,offset:me.offset,scrollContainer:me.scrollContainer})),(0,fe.q)(1),(0,oe.z)(()=>le.loadImage(me)),(0,k.b)(We=>le.setLoadedImage({element:me.element,imagePath:We,useSrcset:me.useSrcset})),(0,Me.U)(()=>!0),(0,X.K)(()=>(le.setErrorImage(me),(0,ne.of)(!1))),(0,k.b)(()=>le.finally(me)))}(this.hooks,Fe)))).subscribe(Fe=>this.onLoad.emit(Fe))})}ngOnDestroy(){[this.scrollSubscription].filter(Fe=>Fe&&!Fe.isUnsubscribed).forEach(Fe=>Fe.unsubscribe())}}return le.\u0275fac=function(Fe){return new(Fe||le)(d.Y36(d.SBq),d.Y36(d.R0b),d.Y36(d.Lbi),d.Y36("options",8))},le.\u0275dir=d.lG2({type:le,selectors:[["","lazyLoad",""]],inputs:{lazyImage:["lazyLoad","lazyImage"],defaultImage:"defaultImage",errorImage:"errorImage",scrollTarget:"scrollTarget",scrollObservable:"scrollObservable",offset:"offset",useSrcset:"useSrcset"},outputs:{onLoad:"onLoad"},features:[d.TTD]}),le})(),Se=(()=>{class le{static forRoot(Fe){return{ngModule:le,providers:[{provide:"options",useValue:Fe}]}}}return le.\u0275fac=function(Fe){return new(Fe||le)},le.\u0275mod=d.oAB({type:le}),le.\u0275inj=d.cJS({}),le})();const Q=new WeakMap,J=new G.x;function be(le){le.forEach(me=>J.next(me))}const _e=le=>{if(!le.scrollContainer&&!Ce())return(0,U.c)();const me={root:le.scrollContainer};le.offset&&(me.rootMargin=`${le.offset}px`);const Fe=le.scrollContainer||window;let We=Q.get(Fe);return We||(We=new IntersectionObserver(be,me),Q.set(Fe,We)),We.observe(le.element),Z.y.create(ke=>{const Ke=J.pipe((0,re.h)(lt=>lt.target===le.element)).subscribe(ke);return()=>{Ke.unsubscribe(),We.unobserve(le.element)}})},yt=Object.assign({},Ut,{isVisible:({event:le})=>le.isIntersecting,getObservable:(le,me=_e)=>le.scrollObservable?le.scrollObservable:me(le)})},1135:(je,ce,D)=>{"use strict";D.d(ce,{X:()=>d});var p=D(7579);class d extends p.x{constructor(L){super(),this._value=L}get value(){return this.getValue()}_subscribe(L){const K=super._subscribe(L);return!K.closed&&L.next(this._value),K}getValue(){const{hasError:L,thrownError:K,_value:Z}=this;if(L)throw K;return this._throwIfClosed(),Z}next(L){super.next(this._value=L)}}},8306:(je,ce,D)=>{"use strict";D.d(ce,{y:()=>F});var p=D(930),d=D(727),G=D(8822),L=D(4671);var U=D(2416),ne=D(576),q=D(2806);let F=(()=>{class x{constructor(de){de&&(this._subscribe=de)}lift(de){const T=new x;return T.source=this,T.operator=de,T}subscribe(de,T,ie){const re=function R(x){return x&&x instanceof p.Lv||function O(x){return x&&(0,ne.m)(x.next)&&(0,ne.m)(x.error)&&(0,ne.m)(x.complete)}(x)&&(0,d.Nn)(x)}(de)?de:new p.Hp(de,T,ie);return(0,q.x)(()=>{const{operator:fe,source:oe}=this;re.add(fe?fe.call(re,oe):oe?this._subscribe(re):this._trySubscribe(re))}),re}_trySubscribe(de){try{return this._subscribe(de)}catch(T){de.error(T)}}forEach(de,T){return new(T=j(T))((ie,re)=>{const fe=new p.Hp({next:oe=>{try{de(oe)}catch(k){re(k),fe.unsubscribe()}},error:re,complete:ie});this.subscribe(fe)})}_subscribe(de){var T;return null===(T=this.source)||void 0===T?void 0:T.subscribe(de)}[G.L](){return this}pipe(...de){return function Z(x){return 0===x.length?L.y:1===x.length?x[0]:function(de){return x.reduce((T,ie)=>ie(T),de)}}(de)(this)}toPromise(de){return new(de=j(de))((T,ie)=>{let re;this.subscribe(fe=>re=fe,fe=>ie(fe),()=>T(re))})}}return x.create=V=>new x(V),x})();function j(x){var V;return null!==(V=null!=x?x:U.v.Promise)&&void 0!==V?V:Promise}},7579:(je,ce,D)=>{"use strict";D.d(ce,{x:()=>U});var p=D(8306),d=D(727);const L=(0,D(3888).d)(q=>function(){q(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var K=D(8737),Z=D(2806);let U=(()=>{class q extends p.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(j){const O=new ne(this,this);return O.operator=j,O}_throwIfClosed(){if(this.closed)throw new L}next(j){(0,Z.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const O of this.currentObservers)O.next(j)}})}error(j){(0,Z.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=j;const{observers:O}=this;for(;O.length;)O.shift().error(j)}})}complete(){(0,Z.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:j}=this;for(;j.length;)j.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var j;return(null===(j=this.observers)||void 0===j?void 0:j.length)>0}_trySubscribe(j){return this._throwIfClosed(),super._trySubscribe(j)}_subscribe(j){return this._throwIfClosed(),this._checkFinalizedStatuses(j),this._innerSubscribe(j)}_innerSubscribe(j){const{hasError:O,isStopped:R,observers:x}=this;return O||R?d.Lc:(this.currentObservers=null,x.push(j),new d.w0(()=>{this.currentObservers=null,(0,K.P)(x,j)}))}_checkFinalizedStatuses(j){const{hasError:O,thrownError:R,isStopped:x}=this;O?j.error(R):x&&j.complete()}asObservable(){const j=new p.y;return j.source=this,j}}return q.create=(F,j)=>new ne(F,j),q})();class ne extends U{constructor(F,j){super(),this.destination=F,this.source=j}next(F){var j,O;null===(O=null===(j=this.destination)||void 0===j?void 0:j.next)||void 0===O||O.call(j,F)}error(F){var j,O;null===(O=null===(j=this.destination)||void 0===j?void 0:j.error)||void 0===O||O.call(j,F)}complete(){var F,j;null===(j=null===(F=this.destination)||void 0===F?void 0:F.complete)||void 0===j||j.call(F)}_subscribe(F){var j,O;return null!==(O=null===(j=this.source)||void 0===j?void 0:j.subscribe(F))&&void 0!==O?O:d.Lc}}},930:(je,ce,D)=>{"use strict";D.d(ce,{Hp:()=>de,Lv:()=>O});var p=D(576),d=D(727),G=D(2416),L=D(7849),K=D(5032);const Z=q("C",void 0,void 0);function q(oe,k,Me){return{kind:oe,value:k,error:Me}}var F=D(3410),j=D(2806);class O extends d.w0{constructor(k){super(),this.isStopped=!1,k?(this.destination=k,(0,d.Nn)(k)&&k.add(this)):this.destination=fe}static create(k,Me,X){return new de(k,Me,X)}next(k){this.isStopped?re(function ne(oe){return q("N",oe,void 0)}(k),this):this._next(k)}error(k){this.isStopped?re(function U(oe){return q("E",void 0,oe)}(k),this):(this.isStopped=!0,this._error(k))}complete(){this.isStopped?re(Z,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(k){this.destination.next(k)}_error(k){try{this.destination.error(k)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const R=Function.prototype.bind;function x(oe,k){return R.call(oe,k)}class V{constructor(k){this.partialObserver=k}next(k){const{partialObserver:Me}=this;if(Me.next)try{Me.next(k)}catch(X){T(X)}}error(k){const{partialObserver:Me}=this;if(Me.error)try{Me.error(k)}catch(X){T(X)}else T(k)}complete(){const{partialObserver:k}=this;if(k.complete)try{k.complete()}catch(Me){T(Me)}}}class de extends O{constructor(k,Me,X){let pe;if(super(),(0,p.m)(k)||!k)pe={next:null!=k?k:void 0,error:null!=Me?Me:void 0,complete:null!=X?X:void 0};else{let ye;this&&G.v.useDeprecatedNextContext?(ye=Object.create(k),ye.unsubscribe=()=>this.unsubscribe(),pe={next:k.next&&x(k.next,ye),error:k.error&&x(k.error,ye),complete:k.complete&&x(k.complete,ye)}):pe=k}this.destination=new V(pe)}}function T(oe){G.v.useDeprecatedSynchronousErrorHandling?(0,j.O)(oe):(0,L.h)(oe)}function re(oe,k){const{onStoppedNotification:Me}=G.v;Me&&F.z.setTimeout(()=>Me(oe,k))}const fe={closed:!0,next:K.Z,error:function ie(oe){throw oe},complete:K.Z}},727:(je,ce,D)=>{"use strict";D.d(ce,{Lc:()=>Z,w0:()=>K,Nn:()=>U});var p=D(576);const G=(0,D(3888).d)(q=>function(j){q(this),this.message=j?`${j.length} errors occurred during unsubscription:\n${j.map((O,R)=>`${R+1}) ${O.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=j});var L=D(8737);class K{constructor(F){this.initialTeardown=F,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let F;if(!this.closed){this.closed=!0;const{_parentage:j}=this;if(j)if(this._parentage=null,Array.isArray(j))for(const x of j)x.remove(this);else j.remove(this);const{initialTeardown:O}=this;if((0,p.m)(O))try{O()}catch(x){F=x instanceof G?x.errors:[x]}const{_finalizers:R}=this;if(R){this._finalizers=null;for(const x of R)try{ne(x)}catch(V){F=null!=F?F:[],V instanceof G?F=[...F,...V.errors]:F.push(V)}}if(F)throw new G(F)}}add(F){var j;if(F&&F!==this)if(this.closed)ne(F);else{if(F instanceof K){if(F.closed||F._hasParent(this))return;F._addParent(this)}(this._finalizers=null!==(j=this._finalizers)&&void 0!==j?j:[]).push(F)}}_hasParent(F){const{_parentage:j}=this;return j===F||Array.isArray(j)&&j.includes(F)}_addParent(F){const{_parentage:j}=this;this._parentage=Array.isArray(j)?(j.push(F),j):j?[j,F]:F}_removeParent(F){const{_parentage:j}=this;j===F?this._parentage=null:Array.isArray(j)&&(0,L.P)(j,F)}remove(F){const{_finalizers:j}=this;j&&(0,L.P)(j,F),F instanceof K&&F._removeParent(this)}}K.EMPTY=(()=>{const q=new K;return q.closed=!0,q})();const Z=K.EMPTY;function U(q){return q instanceof K||q&&"closed"in q&&(0,p.m)(q.remove)&&(0,p.m)(q.add)&&(0,p.m)(q.unsubscribe)}function ne(q){(0,p.m)(q)?q():q.unsubscribe()}},2416:(je,ce,D)=>{"use strict";D.d(ce,{v:()=>p});const p={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},7272:(je,ce,D)=>{"use strict";D.d(ce,{z:()=>K});var p=D(8189),G=D(3269),L=D(2076);function K(...Z){return function d(){return(0,p.J)(1)}()((0,L.D)(Z,(0,G.yG)(Z)))}},515:(je,ce,D)=>{"use strict";D.d(ce,{E:()=>d,c:()=>G});var p=D(8306);const d=new p.y(K=>K.complete());function G(K){return K?function L(K){return new p.y(Z=>K.schedule(()=>Z.complete()))}(K):d}},2076:(je,ce,D)=>{"use strict";D.d(ce,{D:()=>X});var p=D(8421),d=D(9672),G=D(4482),L=D(5403);function K(pe,ye=0){return(0,G.e)((ae,Ee)=>{ae.subscribe((0,L.x)(Ee,ge=>(0,d.f)(Ee,pe,()=>Ee.next(ge),ye),()=>(0,d.f)(Ee,pe,()=>Ee.complete(),ye),ge=>(0,d.f)(Ee,pe,()=>Ee.error(ge),ye)))})}function Z(pe,ye=0){return(0,G.e)((ae,Ee)=>{Ee.add(pe.schedule(()=>ae.subscribe(Ee),ye))})}var q=D(8306),j=D(2202),O=D(576);function x(pe,ye){if(!pe)throw new Error("Iterable cannot be null");return new q.y(ae=>{(0,d.f)(ae,ye,()=>{const Ee=pe[Symbol.asyncIterator]();(0,d.f)(ae,ye,()=>{Ee.next().then(ge=>{ge.done?ae.complete():ae.next(ge.value)})},0,!0)})})}var V=D(3670),de=D(8239),T=D(1144),ie=D(6495),re=D(2206),fe=D(4532),oe=D(3260);function X(pe,ye){return ye?function Me(pe,ye){if(null!=pe){if((0,V.c)(pe))return function U(pe,ye){return(0,p.Xf)(pe).pipe(Z(ye),K(ye))}(pe,ye);if((0,T.z)(pe))return function F(pe,ye){return new q.y(ae=>{let Ee=0;return ye.schedule(function(){Ee===pe.length?ae.complete():(ae.next(pe[Ee++]),ae.closed||this.schedule())})})}(pe,ye);if((0,de.t)(pe))return function ne(pe,ye){return(0,p.Xf)(pe).pipe(Z(ye),K(ye))}(pe,ye);if((0,re.D)(pe))return x(pe,ye);if((0,ie.T)(pe))return function R(pe,ye){return new q.y(ae=>{let Ee;return(0,d.f)(ae,ye,()=>{Ee=pe[j.h](),(0,d.f)(ae,ye,()=>{let ge,Re;try{({value:ge,done:Re}=Ee.next())}catch(Ce){return void ae.error(Ce)}Re?ae.complete():ae.next(ge)},0,!0)}),()=>(0,O.m)(null==Ee?void 0:Ee.return)&&Ee.return()})}(pe,ye);if((0,oe.L)(pe))return function k(pe,ye){return x((0,oe.Q)(pe),ye)}(pe,ye)}throw(0,fe.z)(pe)}(pe,ye):(0,p.Xf)(pe)}},8421:(je,ce,D)=>{"use strict";D.d(ce,{Xf:()=>R});var p=D(7582),d=D(1144),G=D(8239),L=D(8306),K=D(3670),Z=D(2206),U=D(4532),ne=D(6495),q=D(3260),F=D(576),j=D(7849),O=D(8822);function R(oe){if(oe instanceof L.y)return oe;if(null!=oe){if((0,K.c)(oe))return function x(oe){return new L.y(k=>{const Me=oe[O.L]();if((0,F.m)(Me.subscribe))return Me.subscribe(k);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(oe);if((0,d.z)(oe))return function V(oe){return new L.y(k=>{for(let Me=0;Me{oe.then(Me=>{k.closed||(k.next(Me),k.complete())},Me=>k.error(Me)).then(null,j.h)})}(oe);if((0,Z.D)(oe))return ie(oe);if((0,ne.T)(oe))return function T(oe){return new L.y(k=>{for(const Me of oe)if(k.next(Me),k.closed)return;k.complete()})}(oe);if((0,q.L)(oe))return function re(oe){return ie((0,q.Q)(oe))}(oe)}throw(0,U.z)(oe)}function ie(oe){return new L.y(k=>{(function fe(oe,k){var Me,X,pe,ye;return(0,p.mG)(this,void 0,void 0,function*(){try{for(Me=(0,p.KL)(oe);!(X=yield Me.next()).done;)if(k.next(X.value),k.closed)return}catch(ae){pe={error:ae}}finally{try{X&&!X.done&&(ye=Me.return)&&(yield ye.call(Me))}finally{if(pe)throw pe.error}}k.complete()})})(oe,k).catch(Me=>k.error(Me))})}},9646:(je,ce,D)=>{"use strict";D.d(ce,{of:()=>G});var p=D(3269),d=D(2076);function G(...L){const K=(0,p.yG)(L);return(0,d.D)(L,K)}},5963:(je,ce,D)=>{"use strict";D.d(ce,{H:()=>K});var p=D(8306),d=D(4049),G=D(3532);function K(Z=0,U,ne=d.P){let q=-1;return null!=U&&((0,G.K)(U)?ne=U:q=U),new p.y(F=>{let j=function L(Z){return Z instanceof Date&&!isNaN(Z)}(Z)?+Z-ne.now():Z;j<0&&(j=0);let O=0;return ne.schedule(function(){F.closed||(F.next(O++),0<=q?this.schedule(void 0,q):F.complete())},j)})}},5403:(je,ce,D)=>{"use strict";D.d(ce,{x:()=>d});var p=D(930);function d(L,K,Z,U,ne){return new G(L,K,Z,U,ne)}class G extends p.Lv{constructor(K,Z,U,ne,q,F){super(K),this.onFinalize=q,this.shouldUnsubscribe=F,this._next=Z?function(j){try{Z(j)}catch(O){K.error(O)}}:super._next,this._error=ne?function(j){try{ne(j)}catch(O){K.error(O)}finally{this.unsubscribe()}}:super._error,this._complete=U?function(){try{U()}catch(j){K.error(j)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var K;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:Z}=this;super.unsubscribe(),!Z&&(null===(K=this.onFinalize)||void 0===K||K.call(this))}}}},262:(je,ce,D)=>{"use strict";D.d(ce,{K:()=>L});var p=D(8421),d=D(5403),G=D(4482);function L(K){return(0,G.e)((Z,U)=>{let F,ne=null,q=!1;ne=Z.subscribe((0,d.x)(U,void 0,void 0,j=>{F=(0,p.Xf)(K(j,L(K)(Z))),ne?(ne.unsubscribe(),ne=null,F.subscribe(U)):q=!0})),q&&(ne.unsubscribe(),ne=null,F.subscribe(U))})}},4351:(je,ce,D)=>{"use strict";D.d(ce,{b:()=>G});var p=D(5577),d=D(576);function G(L,K){return(0,d.m)(K)?(0,p.z)(L,K,1):(0,p.z)(L,1)}},6590:(je,ce,D)=>{"use strict";D.d(ce,{d:()=>G});var p=D(4482),d=D(5403);function G(L){return(0,p.e)((K,Z)=>{let U=!1;K.subscribe((0,d.x)(Z,ne=>{U=!0,Z.next(ne)},()=>{U||Z.next(L),Z.complete()}))})}},9300:(je,ce,D)=>{"use strict";D.d(ce,{h:()=>G});var p=D(4482),d=D(5403);function G(L,K){return(0,p.e)((Z,U)=>{let ne=0;Z.subscribe((0,d.x)(U,q=>L.call(K,q,ne++)&&U.next(q)))})}},590:(je,ce,D)=>{"use strict";D.d(ce,{P:()=>U});var p=D(6805),d=D(9300),G=D(5698),L=D(6590),K=D(8068),Z=D(4671);function U(ne,q){const F=arguments.length>=2;return j=>j.pipe(ne?(0,d.h)((O,R)=>ne(O,R,j)):Z.y,(0,G.q)(1),F?(0,L.d)(q):(0,K.T)(()=>new p.K))}},4004:(je,ce,D)=>{"use strict";D.d(ce,{U:()=>G});var p=D(4482),d=D(5403);function G(L,K){return(0,p.e)((Z,U)=>{let ne=0;Z.subscribe((0,d.x)(U,q=>{U.next(L.call(K,q,ne++))}))})}},8189:(je,ce,D)=>{"use strict";D.d(ce,{J:()=>G});var p=D(5577),d=D(4671);function G(L=1/0){return(0,p.z)(d.y,L)}},5577:(je,ce,D)=>{"use strict";D.d(ce,{z:()=>ne});var p=D(4004),d=D(8421),G=D(4482),L=D(9672),K=D(5403),U=D(576);function ne(q,F,j=1/0){return(0,U.m)(F)?ne((O,R)=>(0,p.U)((x,V)=>F(O,x,R,V))((0,d.Xf)(q(O,R))),j):("number"==typeof F&&(j=F),(0,G.e)((O,R)=>function Z(q,F,j,O,R,x,V,de){const T=[];let ie=0,re=0,fe=!1;const oe=()=>{fe&&!T.length&&!ie&&F.complete()},k=X=>ie{x&&F.next(X),ie++;let pe=!1;(0,d.Xf)(j(X,re++)).subscribe((0,K.x)(F,ye=>{null==R||R(ye),x?k(ye):F.next(ye)},()=>{pe=!0},void 0,()=>{if(pe)try{for(ie--;T.length&&ieMe(ye)):Me(ye)}oe()}catch(ye){F.error(ye)}}))};return q.subscribe((0,K.x)(F,k,()=>{fe=!0,oe()})),()=>{null==de||de()}}(O,R,q,j)))}},3099:(je,ce,D)=>{"use strict";D.d(ce,{B:()=>K});var p=D(8421),d=D(7579),G=D(930),L=D(4482);function K(U={}){const{connector:ne=(()=>new d.x),resetOnError:q=!0,resetOnComplete:F=!0,resetOnRefCountZero:j=!0}=U;return O=>{let R,x,V,de=0,T=!1,ie=!1;const re=()=>{null==x||x.unsubscribe(),x=void 0},fe=()=>{re(),R=V=void 0,T=ie=!1},oe=()=>{const k=R;fe(),null==k||k.unsubscribe()};return(0,L.e)((k,Me)=>{de++,!ie&&!T&&re();const X=V=null!=V?V:ne();Me.add(()=>{de--,0===de&&!ie&&!T&&(x=Z(oe,j))}),X.subscribe(Me),!R&&de>0&&(R=new G.Hp({next:pe=>X.next(pe),error:pe=>{ie=!0,re(),x=Z(fe,q,pe),X.error(pe)},complete:()=>{T=!0,re(),x=Z(fe,F),X.complete()}}),(0,p.Xf)(k).subscribe(R))})(O)}}function Z(U,ne,...q){if(!0===ne)return void U();if(!1===ne)return;const F=new G.Hp({next:()=>{F.unsubscribe(),U()}});return ne(...q).subscribe(F)}},8675:(je,ce,D)=>{"use strict";D.d(ce,{O:()=>L});var p=D(7272),d=D(3269),G=D(4482);function L(...K){const Z=(0,d.yG)(K);return(0,G.e)((U,ne)=>{(Z?(0,p.z)(K,U,Z):(0,p.z)(K,U)).subscribe(ne)})}},3900:(je,ce,D)=>{"use strict";D.d(ce,{w:()=>L});var p=D(8421),d=D(4482),G=D(5403);function L(K,Z){return(0,d.e)((U,ne)=>{let q=null,F=0,j=!1;const O=()=>j&&!q&&ne.complete();U.subscribe((0,G.x)(ne,R=>{null==q||q.unsubscribe();let x=0;const V=F++;(0,p.Xf)(K(R,V)).subscribe(q=(0,G.x)(ne,de=>ne.next(Z?Z(R,de,V,x++):de),()=>{q=null,O()}))},()=>{j=!0,O()}))})}},5698:(je,ce,D)=>{"use strict";D.d(ce,{q:()=>L});var p=D(515),d=D(4482),G=D(5403);function L(K){return K<=0?()=>p.E:(0,d.e)((Z,U)=>{let ne=0;Z.subscribe((0,G.x)(U,q=>{++ne<=K&&(U.next(q),K<=ne&&U.complete())}))})}},2722:(je,ce,D)=>{"use strict";D.d(ce,{R:()=>K});var p=D(4482),d=D(5403),G=D(8421),L=D(5032);function K(Z){return(0,p.e)((U,ne)=>{(0,G.Xf)(Z).subscribe((0,d.x)(ne,()=>ne.complete(),L.Z)),!ne.closed&&U.subscribe(ne)})}},8505:(je,ce,D)=>{"use strict";D.d(ce,{b:()=>K});var p=D(576),d=D(4482),G=D(5403),L=D(4671);function K(Z,U,ne){const q=(0,p.m)(Z)||U||ne?{next:Z,error:U,complete:ne}:Z;return q?(0,d.e)((F,j)=>{var O;null===(O=q.subscribe)||void 0===O||O.call(q);let R=!0;F.subscribe((0,G.x)(j,x=>{var V;null===(V=q.next)||void 0===V||V.call(q,x),j.next(x)},()=>{var x;R=!1,null===(x=q.complete)||void 0===x||x.call(q),j.complete()},x=>{var V;R=!1,null===(V=q.error)||void 0===V||V.call(q,x),j.error(x)},()=>{var x,V;R&&(null===(x=q.unsubscribe)||void 0===x||x.call(q)),null===(V=q.finalize)||void 0===V||V.call(q)}))}):L.y}},8068:(je,ce,D)=>{"use strict";D.d(ce,{T:()=>L});var p=D(6805),d=D(4482),G=D(5403);function L(Z=K){return(0,d.e)((U,ne)=>{let q=!1;U.subscribe((0,G.x)(ne,F=>{q=!0,ne.next(F)},()=>q?ne.complete():ne.error(Z())))})}function K(){return new p.K}},4049:(je,ce,D)=>{"use strict";D.d(ce,{P:()=>F,z:()=>q});var p=D(727);class d extends p.w0{constructor(O,R){super()}schedule(O,R=0){return this}}const G={setInterval(j,O,...R){const{delegate:x}=G;return(null==x?void 0:x.setInterval)?x.setInterval(j,O,...R):setInterval(j,O,...R)},clearInterval(j){const{delegate:O}=G;return((null==O?void 0:O.clearInterval)||clearInterval)(j)},delegate:void 0};var L=D(8737),Z=D(6063);class U{constructor(O,R=U.now){this.schedulerActionCtor=O,this.now=R}schedule(O,R=0,x){return new this.schedulerActionCtor(this,O).schedule(x,R)}}U.now=Z.l.now;const q=new class ne extends U{constructor(O,R=U.now){super(O,R),this.actions=[],this._active=!1}flush(O){const{actions:R}=this;if(this._active)return void R.push(O);let x;this._active=!0;do{if(x=O.execute(O.state,O.delay))break}while(O=R.shift());if(this._active=!1,x){for(;O=R.shift();)O.unsubscribe();throw x}}}(class K extends d{constructor(O,R){super(O,R),this.scheduler=O,this.work=R,this.pending=!1}schedule(O,R=0){var x;if(this.closed)return this;this.state=O;const V=this.id,de=this.scheduler;return null!=V&&(this.id=this.recycleAsyncId(de,V,R)),this.pending=!0,this.delay=R,this.id=null!==(x=this.id)&&void 0!==x?x:this.requestAsyncId(de,this.id,R),this}requestAsyncId(O,R,x=0){return G.setInterval(O.flush.bind(O,this),x)}recycleAsyncId(O,R,x=0){if(null!=x&&this.delay===x&&!1===this.pending)return R;null!=R&&G.clearInterval(R)}execute(O,R){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const x=this._execute(O,R);if(x)return x;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(O,R){let V,x=!1;try{this.work(O)}catch(de){x=!0,V=de||new Error("Scheduled action threw falsy error")}if(x)return this.unsubscribe(),V}unsubscribe(){if(!this.closed){const{id:O,scheduler:R}=this,{actions:x}=R;this.work=this.state=this.scheduler=null,this.pending=!1,(0,L.P)(x,this),null!=O&&(this.id=this.recycleAsyncId(R,O,null)),this.delay=null,super.unsubscribe()}}}),F=q},6063:(je,ce,D)=>{"use strict";D.d(ce,{l:()=>p});const p={now:()=>(p.delegate||Date).now(),delegate:void 0}},3410:(je,ce,D)=>{"use strict";D.d(ce,{z:()=>p});const p={setTimeout(d,G,...L){const{delegate:K}=p;return(null==K?void 0:K.setTimeout)?K.setTimeout(d,G,...L):setTimeout(d,G,...L)},clearTimeout(d){const{delegate:G}=p;return((null==G?void 0:G.clearTimeout)||clearTimeout)(d)},delegate:void 0}},2202:(je,ce,D)=>{"use strict";D.d(ce,{h:()=>d});const d=function p(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(je,ce,D)=>{"use strict";D.d(ce,{L:()=>p});const p="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(je,ce,D)=>{"use strict";D.d(ce,{K:()=>d});const d=(0,D(3888).d)(G=>function(){G(this),this.name="EmptyError",this.message="no elements in sequence"})},3269:(je,ce,D)=>{"use strict";D.d(ce,{jO:()=>L,yG:()=>K,_6:()=>Z});var p=D(576),d=D(3532);function G(U){return U[U.length-1]}function L(U){return(0,p.m)(G(U))?U.pop():void 0}function K(U){return(0,d.K)(G(U))?U.pop():void 0}function Z(U,ne){return"number"==typeof G(U)?U.pop():ne}},4742:(je,ce,D)=>{"use strict";D.d(ce,{D:()=>K});const{isArray:p}=Array,{getPrototypeOf:d,prototype:G,keys:L}=Object;function K(U){if(1===U.length){const ne=U[0];if(p(ne))return{args:ne,keys:null};if(function Z(U){return U&&"object"==typeof U&&d(U)===G}(ne)){const q=L(ne);return{args:q.map(F=>ne[F]),keys:q}}}return{args:U,keys:null}}},8737:(je,ce,D)=>{"use strict";function p(d,G){if(d){const L=d.indexOf(G);0<=L&&d.splice(L,1)}}D.d(ce,{P:()=>p})},3888:(je,ce,D)=>{"use strict";function p(d){const L=d(K=>{Error.call(K),K.stack=(new Error).stack});return L.prototype=Object.create(Error.prototype),L.prototype.constructor=L,L}D.d(ce,{d:()=>p})},1810:(je,ce,D)=>{"use strict";function p(d,G){return d.reduce((L,K,Z)=>(L[K]=G[Z],L),{})}D.d(ce,{n:()=>p})},2806:(je,ce,D)=>{"use strict";D.d(ce,{x:()=>G,O:()=>L});var p=D(2416);let d=null;function G(K){if(p.v.useDeprecatedSynchronousErrorHandling){const Z=!d;if(Z&&(d={errorThrown:!1,error:null}),K(),Z){const{errorThrown:U,error:ne}=d;if(d=null,U)throw ne}}else K()}function L(K){p.v.useDeprecatedSynchronousErrorHandling&&d&&(d.errorThrown=!0,d.error=K)}},9672:(je,ce,D)=>{"use strict";function p(d,G,L,K=0,Z=!1){const U=G.schedule(function(){L(),Z?d.add(this.schedule(null,K)):this.unsubscribe()},K);if(d.add(U),!Z)return U}D.d(ce,{f:()=>p})},4671:(je,ce,D)=>{"use strict";function p(d){return d}D.d(ce,{y:()=>p})},1144:(je,ce,D)=>{"use strict";D.d(ce,{z:()=>p});const p=d=>d&&"number"==typeof d.length&&"function"!=typeof d},2206:(je,ce,D)=>{"use strict";D.d(ce,{D:()=>d});var p=D(576);function d(G){return Symbol.asyncIterator&&(0,p.m)(null==G?void 0:G[Symbol.asyncIterator])}},576:(je,ce,D)=>{"use strict";function p(d){return"function"==typeof d}D.d(ce,{m:()=>p})},3670:(je,ce,D)=>{"use strict";D.d(ce,{c:()=>G});var p=D(8822),d=D(576);function G(L){return(0,d.m)(L[p.L])}},6495:(je,ce,D)=>{"use strict";D.d(ce,{T:()=>G});var p=D(2202),d=D(576);function G(L){return(0,d.m)(null==L?void 0:L[p.h])}},8239:(je,ce,D)=>{"use strict";D.d(ce,{t:()=>d});var p=D(576);function d(G){return(0,p.m)(null==G?void 0:G.then)}},3260:(je,ce,D)=>{"use strict";D.d(ce,{Q:()=>G,L:()=>L});var p=D(7582),d=D(576);function G(K){return(0,p.FC)(this,arguments,function*(){const U=K.getReader();try{for(;;){const{value:ne,done:q}=yield(0,p.qq)(U.read());if(q)return yield(0,p.qq)(void 0);yield yield(0,p.qq)(ne)}}finally{U.releaseLock()}})}function L(K){return(0,d.m)(null==K?void 0:K.getReader)}},3532:(je,ce,D)=>{"use strict";D.d(ce,{K:()=>d});var p=D(576);function d(G){return G&&(0,p.m)(G.schedule)}},4482:(je,ce,D)=>{"use strict";D.d(ce,{A:()=>d,e:()=>G});var p=D(576);function d(L){return(0,p.m)(null==L?void 0:L.lift)}function G(L){return K=>{if(d(K))return K.lift(function(Z){try{return L(Z,this)}catch(U){this.error(U)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(je,ce,D)=>{"use strict";D.d(ce,{Z:()=>L});var p=D(4004);const{isArray:d}=Array;function L(K){return(0,p.U)(Z=>function G(K,Z){return d(Z)?K(...Z):K(Z)}(K,Z))}},5032:(je,ce,D)=>{"use strict";function p(){}D.d(ce,{Z:()=>p})},7849:(je,ce,D)=>{"use strict";D.d(ce,{h:()=>G});var p=D(2416),d=D(3410);function G(L){d.z.setTimeout(()=>{const{onUnhandledError:K}=p.v;if(!K)throw L;K(L)})}},4532:(je,ce,D)=>{"use strict";function p(d){return new TypeError(`You provided ${null!==d&&"object"==typeof d?"an invalid object":`'${d}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}D.d(ce,{z:()=>p})},5834:function(je,ce,D){var p;!function(d,G){"use strict";var U="function",ne="undefined",q="object",F="string",j="major",O="model",R="name",x="type",V="vendor",de="version",T="architecture",ie="console",re="mobile",fe="tablet",oe="smarttv",k="wearable",Me="embedded",pe="Amazon",ye="Apple",Ee="BlackBerry",ge="Browser",Re="Chrome",W="Firefox",He="Google",Y="Microsoft",ee="Motorola",ve="Opera",De="Samsung",Oe="Sony",Ue="Xiaomi",qe="Zebra",st="Facebook",rt="Chromium OS",Et=" Browser",tt=function(be){for(var _e={},se=0;se0?2===le.length?this[le[0]]=typeof le[1]==U?le[1].call(this,Fe):le[1]:3===le.length?this[le[0]]=typeof le[1]!==U||le[1].exec&&le[1].test?Fe?Fe.replace(le[1],le[2]):G:Fe?le[1].call(this,Fe,le[2]):G:4===le.length&&(this[le[0]]=Fe?le[3].call(this,Fe.replace(le[1],le[2])):G):this[le]=Fe||G;se+=2}},bt=function(be,_e){for(var se in _e)if(typeof _e[se]===q&&_e[se].length>0){for(var Pe=0;Pe<_e[se].length;Pe++)if(It(_e[se][Pe],be))return"?"===se?G:se}else if(It(_e[se],be))return"?"===se?G:se;return _e.hasOwnProperty("*")?_e["*"]:be},Sn={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},ot={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[de,[R,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[de,[R,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[R,de],[/opios[\/ ]+([\w\.]+)/i],[de,[R,ve+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[de,[R,ve+" GX"]],[/\bopr\/([\w\.]+)/i],[de,[R,ve]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[de,[R,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[R,de],[/quark(?:pc)?\/([-\w\.]+)/i],[de,[R,"Quark"]],[/\bddg\/([\w\.]+)/i],[de,[R,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[de,[R,"UC"+ge]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[de,[R,"WeChat"]],[/konqueror\/([\w\.]+)/i],[de,[R,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[de,[R,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[de,[R,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[de,[R,"Smart Lenovo "+ge]],[/(avast|avg)\/([\w\.]+)/i],[[R,/(.+)/,"$1 Secure "+ge],de],[/\bfocus\/([\w\.]+)/i],[de,[R,W+" Focus"]],[/\bopt\/([\w\.]+)/i],[de,[R,ve+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[de,[R,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[de,[R,"Dolphin"]],[/coast\/([\w\.]+)/i],[de,[R,ve+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[de,[R,"MIUI "+ge]],[/fxios\/([-\w\.]+)/i],[de,[R,W]],[/\bqihu|(qi?ho?o?|360)browser/i],[[R,"360"+Et]],[/\b(qq)\/([\w\.]+)/i],[[R,/(.+)/,"$1Browser"],de],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[R,/(.+)/,"$1"+Et],de],[/samsungbrowser\/([\w\.]+)/i],[de,[R,De+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[R,/_/g," "],de],[/metasr[\/ ]?([\d\.]+)/i],[de,[R,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[R,"Sogou Mobile"],de],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[R,de],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[R],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[R,st],de],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[R,de],[/\bgsa\/([\w\.]+) .*safari\//i],[de,[R,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[de,[R,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[de,[R,Re+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[R,Re+" WebView"],de],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[de,[R,"Android "+ge]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[R,de],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[de,[R,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[de,R],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[R,[de,bt,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[R,de],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[R,"Netscape"],de],[/(wolvic)\/([\w\.]+)/i],[R,de],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[de,[R,W+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[R,[de,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[R,[de,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[T,"amd64"]],[/(ia32(?=;))/i],[[T,wt]],[/((?:i[346]|x)86)[;\)]/i],[[T,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[T,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[T,"armhf"]],[/windows (ce|mobile); ppc;/i],[[T,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[T,/ower/,"",wt]],[/(sun4\w)[;\)]/i],[[T,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[T,wt]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[O,[V,De],[x,fe]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[O,[V,De],[x,re]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[O,[V,ye],[x,re]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[O,[V,ye],[x,fe]],[/(macintosh);/i],[O,[V,ye]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[O,[V,"Sharp"],[x,re]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[O,[V,"Huawei"],[x,fe]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[O,[V,"Huawei"],[x,re]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i],[[O,/_/g," "],[V,Ue],[x,re]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[O,/_/g," "],[V,Ue],[x,fe]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[O,[V,"OPPO"],[x,re]],[/\b(opd2\d{3}a?) bui/i],[O,[V,"OPPO"],[x,fe]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[O,[V,"Vivo"],[x,re]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[O,[V,"Realme"],[x,re]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[O,[V,ee],[x,re]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[O,[V,ee],[x,fe]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[O,[V,"LG"],[x,fe]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[O,[V,"LG"],[x,re]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[O,[V,"Lenovo"],[x,fe]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[O,/_/g," "],[V,"Nokia"],[x,re]],[/(pixel c)\b/i],[O,[V,He],[x,fe]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[O,[V,He],[x,re]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[O,[V,Oe],[x,re]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[O,"Xperia Tablet"],[V,Oe],[x,fe]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[O,[V,"OnePlus"],[x,re]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[O,[V,pe],[x,fe]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[O,/(.+)/g,"Fire Phone $1"],[V,pe],[x,re]],[/(playbook);[-\w\),; ]+(rim)/i],[O,V,[x,fe]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[O,[V,Ee],[x,re]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[O,[V,"ASUS"],[x,fe]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[O,[V,"ASUS"],[x,re]],[/(nexus 9)/i],[O,[V,"HTC"],[x,fe]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[V,[O,/_/g," "],[x,re]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[O,[V,"TCL"],[x,fe]],[/(itel) ((\w+))/i],[[V,wt],O,[x,bt,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[O,[V,"Acer"],[x,fe]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[O,[V,"Meizu"],[x,re]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[O,[V,"Ulefone"],[x,re]],[/droid.+; (a(?:015|06[35]|142p?))/i],[O,[V,"Nothing"],[x,re]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[V,O,[x,re]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[V,O,[x,fe]],[/(surface duo)/i],[O,[V,Y],[x,fe]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[O,[V,"Fairphone"],[x,re]],[/(u304aa)/i],[O,[V,"AT&T"],[x,re]],[/\bsie-(\w*)/i],[O,[V,"Siemens"],[x,re]],[/\b(rct\w+) b/i],[O,[V,"RCA"],[x,fe]],[/\b(venue[\d ]{2,7}) b/i],[O,[V,"Dell"],[x,fe]],[/\b(q(?:mv|ta)\w+) b/i],[O,[V,"Verizon"],[x,fe]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[O,[V,"Barnes & Noble"],[x,fe]],[/\b(tm\d{3}\w+) b/i],[O,[V,"NuVision"],[x,fe]],[/\b(k88) b/i],[O,[V,"ZTE"],[x,fe]],[/\b(nx\d{3}j) b/i],[O,[V,"ZTE"],[x,re]],[/\b(gen\d{3}) b.+49h/i],[O,[V,"Swiss"],[x,re]],[/\b(zur\d{3}) b/i],[O,[V,"Swiss"],[x,fe]],[/\b((zeki)?tb.*\b) b/i],[O,[V,"Zeki"],[x,fe]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[V,"Dragon Touch"],O,[x,fe]],[/\b(ns-?\w{0,9}) b/i],[O,[V,"Insignia"],[x,fe]],[/\b((nxa|next)-?\w{0,9}) b/i],[O,[V,"NextBook"],[x,fe]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[V,"Voice"],O,[x,re]],[/\b(lvtel\-)?(v1[12]) b/i],[[V,"LvTel"],O,[x,re]],[/\b(ph-1) /i],[O,[V,"Essential"],[x,re]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[O,[V,"Envizen"],[x,fe]],[/\b(trio[-\w\. ]+) b/i],[O,[V,"MachSpeed"],[x,fe]],[/\btu_(1491) b/i],[O,[V,"Rotor"],[x,fe]],[/(shield[\w ]+) b/i],[O,[V,"Nvidia"],[x,fe]],[/(sprint) (\w+)/i],[V,O,[x,re]],[/(kin\.[onetw]{3})/i],[[O,/\./g," "],[V,Y],[x,re]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[O,[V,qe],[x,fe]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[O,[V,qe],[x,re]],[/smart-tv.+(samsung)/i],[V,[x,oe]],[/hbbtv.+maple;(\d+)/i],[[O,/^/,"SmartTV"],[V,De],[x,oe]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[V,"LG"],[x,oe]],[/(apple) ?tv/i],[V,[O,ye+" TV"],[x,oe]],[/crkey/i],[[O,Re+"cast"],[V,He],[x,oe]],[/droid.+aft(\w+)( bui|\))/i],[O,[V,pe],[x,oe]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[O,[V,"Sharp"],[x,oe]],[/(bravia[\w ]+)( bui|\))/i],[O,[V,Oe],[x,oe]],[/(mitv-\w{5}) bui/i],[O,[V,Ue],[x,oe]],[/Hbbtv.*(technisat) (.*);/i],[V,O,[x,oe]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[V,Kt],[O,Kt],[x,oe]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[x,oe]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[V,O,[x,ie]],[/droid.+; (shield) bui/i],[O,[V,"Nvidia"],[x,ie]],[/(playstation [345portablevi]+)/i],[O,[V,Oe],[x,ie]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[O,[V,Y],[x,ie]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[O,[V,De],[x,k]],[/((pebble))app/i],[V,O,[x,k]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[O,[V,ye],[x,k]],[/droid.+; (glass) \d/i],[O,[V,He],[x,k]],[/droid.+; (wt63?0{2,3})\)/i],[O,[V,qe],[x,k]],[/(quest( \d| pro)?)/i],[O,[V,st],[x,k]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[V,[x,Me]],[/(aeobc)\b/i],[O,[V,pe],[x,Me]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[O,[x,re]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[O,[x,fe]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[x,fe]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[x,re]],[/(android[-\w\. ]{0,9});.+buil/i],[O,[V,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[de,[R,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[de,[R,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[R,de],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[de,R]],os:[[/microsoft (windows) (vista|xp)/i],[R,de],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[R,[de,bt,Sn]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[de,bt,Sn],[R,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[de,/_/g,"."],[R,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[R,"Mac OS"],[de,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[de,R],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[R,de],[/\(bb(10);/i],[de,[R,Ee]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[de,[R,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[de,[R,W+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[de,[R,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[de,[R,"watchOS"]],[/crkey\/([\d\.]+)/i],[de,[R,Re+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[R,rt],de],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[R,de],[/(sunos) ?([\w\.\d]*)/i],[[R,"Solaris"],de],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[R,de]]},Se=function(be,_e){if(typeof be===q&&(_e=be,be=G),!(this instanceof Se))return new Se(be,_e).getResult();var se=typeof d!==ne&&d.navigator?d.navigator:G,Pe=be||(se&&se.userAgent?se.userAgent:""),yt=se&&se.userAgentData?se.userAgentData:G,ut=_e?function(be,_e){var se={};for(var Pe in be)se[Pe]=_e[Pe]&&_e[Pe].length%2==0?_e[Pe].concat(be[Pe]):be[Pe];return se}(ot,_e):ot,le=se&&se.userAgent==Pe;return this.getBrowser=function(){var me={};return me[R]=G,me[de]=G,dn.call(me,Pe,ut.browser),me[j]=function(be){return typeof be===F?be.replace(/[^\d\.]/g,"").split(".")[0]:G}(me[de]),le&&se&&se.brave&&typeof se.brave.isBrave==U&&(me[R]="Brave"),me},this.getCPU=function(){var me={};return me[T]=G,dn.call(me,Pe,ut.cpu),me},this.getDevice=function(){var me={};return me[V]=G,me[O]=G,me[x]=G,dn.call(me,Pe,ut.device),le&&!me[x]&&yt&&yt.mobile&&(me[x]=re),le&&"Macintosh"==me[O]&&se&&typeof se.standalone!==ne&&se.maxTouchPoints&&se.maxTouchPoints>2&&(me[O]="iPad",me[x]=fe),me},this.getEngine=function(){var me={};return me[R]=G,me[de]=G,dn.call(me,Pe,ut.engine),me},this.getOS=function(){var me={};return me[R]=G,me[de]=G,dn.call(me,Pe,ut.os),le&&!me[R]&&yt&&yt.platform&&"Unknown"!=yt.platform&&(me[R]=yt.platform.replace(/chrome os/i,rt).replace(/macos/i,"Mac OS")),me},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return Pe},this.setUA=function(me){return Pe=typeof me===F&&me.length>500?Kt(me,500):me,this},this.setUA(Pe),this};Se.VERSION="1.0.39",Se.BROWSER=tt([R,de,j]),Se.CPU=tt([T]),Se.DEVICE=tt([O,V,x,ie,re,oe,fe,k,Me]),Se.ENGINE=Se.OS=tt([R,de]),typeof ce!==ne?(je.exports&&(ce=je.exports=Se),ce.UAParser=Se):D.amdO?(p=function(){return Se}.call(ce,D,ce,je))!==G&&(je.exports=p):typeof d!==ne&&(d.UAParser=Se);var Q=typeof d!==ne&&(d.jQuery||d.Zepto);if(Q&&!Q.ua){var J=new Se;Q.ua=J.getResult(),Q.ua.get=function(){return J.getUA()},Q.ua.set=function(be){J.setUA(be);var _e=J.getResult();for(var se in _e)Q.ua[se]=_e[se]}}}("object"==typeof window?window:this)},1371:()=>{},6127:()=>{},9808:(je,ce,D)=>{"use strict";D.d(ce,{mr:()=>re,ez:()=>Zn,K0:()=>U,uU:()=>Ur,JJ:()=>Vi,Do:()=>oe,V_:()=>F,Ye:()=>k,S$:()=>T,sg:()=>pt,O5:()=>On,RF:()=>Xt,n9:()=>pn,b0:()=>fe,lw:()=>ne,EM:()=>on,JF:()=>Hi,NF:()=>Ci,PM:()=>Ui,w_:()=>Z,bD:()=>fr,q:()=>G,Mx:()=>jn,HT:()=>K});var p=D(7587);let d=null;function G(){return d}function K(y){d||(d=y)}class Z{}const U=new p.OlP("DocumentToken");let ne=(()=>{class y{historyGo(_){throw new Error("Not implemented")}}return y.\u0275fac=function(_){return new(_||y)},y.\u0275prov=p.Yz7({token:y,factory:function(){return function q(){return(0,p.LFG)(j)}()},providedIn:"platform"}),y})();const F=new p.OlP("Location Initialized");let j=(()=>{class y extends ne{constructor(_){super(),this._doc=_,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return G().getBaseHref(this._doc)}onPopState(_){const I=G().getGlobalEventTarget(this._doc,"window");return I.addEventListener("popstate",_,!1),()=>I.removeEventListener("popstate",_)}onHashChange(_){const I=G().getGlobalEventTarget(this._doc,"window");return I.addEventListener("hashchange",_,!1),()=>I.removeEventListener("hashchange",_)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(_){this.location.pathname=_}pushState(_,I,B){O()?this._history.pushState(_,I,B):this.location.hash=B}replaceState(_,I,B){O()?this._history.replaceState(_,I,B):this.location.hash=B}forward(){this._history.forward()}back(){this._history.back()}historyGo(_=0){this._history.go(_)}getState(){return this._history.state}}return y.\u0275fac=function(_){return new(_||y)(p.LFG(U))},y.\u0275prov=p.Yz7({token:y,factory:function(){return function R(){return new j((0,p.LFG)(U))}()},providedIn:"platform"}),y})();function O(){return!!window.history.pushState}function x(y,w){if(0==y.length)return w;if(0==w.length)return y;let _=0;return y.endsWith("/")&&_++,w.startsWith("/")&&_++,2==_?y+w.substring(1):1==_?y+w:y+"/"+w}function V(y){const w=y.match(/#|\?|$/),_=w&&w.index||y.length;return y.slice(0,_-("/"===y[_-1]?1:0))+y.slice(_)}function de(y){return y&&"?"!==y[0]?"?"+y:y}let T=(()=>{class y{historyGo(_){throw new Error("Not implemented")}}return y.\u0275fac=function(_){return new(_||y)},y.\u0275prov=p.Yz7({token:y,factory:function(){return function ie(y){const w=(0,p.LFG)(U).location;return new fe((0,p.LFG)(ne),w&&w.origin||"")}()},providedIn:"root"}),y})();const re=new p.OlP("appBaseHref");let fe=(()=>{class y extends T{constructor(_,I){if(super(),this._platformLocation=_,this._removeListenerFns=[],null==I&&(I=this._platformLocation.getBaseHrefFromDOM()),null==I)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=I}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(_){this._removeListenerFns.push(this._platformLocation.onPopState(_),this._platformLocation.onHashChange(_))}getBaseHref(){return this._baseHref}prepareExternalUrl(_){return x(this._baseHref,_)}path(_=!1){const I=this._platformLocation.pathname+de(this._platformLocation.search),B=this._platformLocation.hash;return B&&_?`${I}${B}`:I}pushState(_,I,B,Ie){const Be=this.prepareExternalUrl(B+de(Ie));this._platformLocation.pushState(_,I,Be)}replaceState(_,I,B,Ie){const Be=this.prepareExternalUrl(B+de(Ie));this._platformLocation.replaceState(_,I,Be)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(_=0){var I,B;null===(B=(I=this._platformLocation).historyGo)||void 0===B||B.call(I,_)}}return y.\u0275fac=function(_){return new(_||y)(p.LFG(ne),p.LFG(re,8))},y.\u0275prov=p.Yz7({token:y,factory:y.\u0275fac}),y})(),oe=(()=>{class y extends T{constructor(_,I){super(),this._platformLocation=_,this._baseHref="",this._removeListenerFns=[],null!=I&&(this._baseHref=I)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(_){this._removeListenerFns.push(this._platformLocation.onPopState(_),this._platformLocation.onHashChange(_))}getBaseHref(){return this._baseHref}path(_=!1){let I=this._platformLocation.hash;return null==I&&(I="#"),I.length>0?I.substring(1):I}prepareExternalUrl(_){const I=x(this._baseHref,_);return I.length>0?"#"+I:I}pushState(_,I,B,Ie){let Be=this.prepareExternalUrl(B+de(Ie));0==Be.length&&(Be=this._platformLocation.pathname),this._platformLocation.pushState(_,I,Be)}replaceState(_,I,B,Ie){let Be=this.prepareExternalUrl(B+de(Ie));0==Be.length&&(Be=this._platformLocation.pathname),this._platformLocation.replaceState(_,I,Be)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(_=0){var I,B;null===(B=(I=this._platformLocation).historyGo)||void 0===B||B.call(I,_)}}return y.\u0275fac=function(_){return new(_||y)(p.LFG(ne),p.LFG(re,8))},y.\u0275prov=p.Yz7({token:y,factory:y.\u0275fac}),y})(),k=(()=>{class y{constructor(_,I){this._subject=new p.vpe,this._urlChangeListeners=[],this._platformStrategy=_;const B=this._platformStrategy.getBaseHref();this._platformLocation=I,this._baseHref=V(pe(B)),this._platformStrategy.onPopState(Ie=>{this._subject.emit({url:this.path(!0),pop:!0,state:Ie.state,type:Ie.type})})}path(_=!1){return this.normalize(this._platformStrategy.path(_))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(_,I=""){return this.path()==this.normalize(_+de(I))}normalize(_){return y.stripTrailingSlash(function X(y,w){return y&&w.startsWith(y)?w.substring(y.length):w}(this._baseHref,pe(_)))}prepareExternalUrl(_){return _&&"/"!==_[0]&&(_="/"+_),this._platformStrategy.prepareExternalUrl(_)}go(_,I="",B=null){this._platformStrategy.pushState(B,"",_,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(_+de(I)),B)}replaceState(_,I="",B=null){this._platformStrategy.replaceState(B,"",_,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(_+de(I)),B)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(_=0){var I,B;null===(B=(I=this._platformStrategy).historyGo)||void 0===B||B.call(I,_)}onUrlChange(_){this._urlChangeListeners.push(_),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(I=>{this._notifyUrlChangeListeners(I.url,I.state)}))}_notifyUrlChangeListeners(_="",I){this._urlChangeListeners.forEach(B=>B(_,I))}subscribe(_,I,B){return this._subject.subscribe({next:_,error:I,complete:B})}}return y.normalizeQueryParams=de,y.joinWithSlash=x,y.stripTrailingSlash=V,y.\u0275fac=function(_){return new(_||y)(p.LFG(T),p.LFG(ne))},y.\u0275prov=p.Yz7({token:y,factory:function(){return function Me(){return new k((0,p.LFG)(T),(0,p.LFG)(ne))}()},providedIn:"root"}),y})();function pe(y){return y.replace(/\/index.html$/,"")}var ae=(()=>((ae=ae||{})[ae.Decimal=0]="Decimal",ae[ae.Percent=1]="Percent",ae[ae.Currency=2]="Currency",ae[ae.Scientific=3]="Scientific",ae))(),ge=(()=>((ge=ge||{})[ge.Format=0]="Format",ge[ge.Standalone=1]="Standalone",ge))(),Re=(()=>((Re=Re||{})[Re.Narrow=0]="Narrow",Re[Re.Abbreviated=1]="Abbreviated",Re[Re.Wide=2]="Wide",Re[Re.Short=3]="Short",Re))(),Ce=(()=>((Ce=Ce||{})[Ce.Short=0]="Short",Ce[Ce.Medium=1]="Medium",Ce[Ce.Long=2]="Long",Ce[Ce.Full=3]="Full",Ce))(),W=(()=>((W=W||{})[W.Decimal=0]="Decimal",W[W.Group=1]="Group",W[W.List=2]="List",W[W.PercentSign=3]="PercentSign",W[W.PlusSign=4]="PlusSign",W[W.MinusSign=5]="MinusSign",W[W.Exponential=6]="Exponential",W[W.SuperscriptingExponent=7]="SuperscriptingExponent",W[W.PerMille=8]="PerMille",W[W.Infinity=9]="Infinity",W[W.NaN=10]="NaN",W[W.TimeSeparator=11]="TimeSeparator",W[W.CurrencyDecimal=12]="CurrencyDecimal",W[W.CurrencyGroup=13]="CurrencyGroup",W))();function Oe(y,w){return bt((0,p.cg1)(y)[p.wAp.DateFormat],w)}function Ue(y,w){return bt((0,p.cg1)(y)[p.wAp.TimeFormat],w)}function qe(y,w){return bt((0,p.cg1)(y)[p.wAp.DateTimeFormat],w)}function st(y,w){const _=(0,p.cg1)(y),I=_[p.wAp.NumberSymbols][w];if(void 0===I){if(w===W.CurrencyDecimal)return _[p.wAp.NumberSymbols][W.Decimal];if(w===W.CurrencyGroup)return _[p.wAp.NumberSymbols][W.Group]}return I}function wt(y){if(!y[p.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${y[p.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function bt(y,w){for(let _=w;_>-1;_--)if(void 0!==y[_])return y[_];throw new Error("Locale data API: locale data undefined")}function Ft(y){const[w,_]=y.split(":");return{hours:+w,minutes:+_}}const Q=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,J={},be=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var _e=(()=>((_e=_e||{})[_e.Short=0]="Short",_e[_e.ShortGMT=1]="ShortGMT",_e[_e.Long=2]="Long",_e[_e.Extended=3]="Extended",_e))(),se=(()=>((se=se||{})[se.FullYear=0]="FullYear",se[se.Month=1]="Month",se[se.Date=2]="Date",se[se.Hours=3]="Hours",se[se.Minutes=4]="Minutes",se[se.Seconds=5]="Seconds",se[se.FractionalSeconds=6]="FractionalSeconds",se[se.Day=7]="Day",se))(),Pe=(()=>((Pe=Pe||{})[Pe.DayPeriods=0]="DayPeriods",Pe[Pe.Days=1]="Days",Pe[Pe.Months=2]="Months",Pe[Pe.Eras=3]="Eras",Pe))();function yt(y,w,_,I){let B=function te(y){if(H(y))return y;if("number"==typeof y&&!isNaN(y))return new Date(y);if("string"==typeof y){if(y=y.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(y)){const[B,Ie=1,Be=1]=y.split("-").map(ze=>+ze);return ut(B,Ie-1,Be)}const _=parseFloat(y);if(!isNaN(y-_))return new Date(_);let I;if(I=y.match(Q))return function S(y){const w=new Date(0);let _=0,I=0;const B=y[8]?w.setUTCFullYear:w.setFullYear,Ie=y[8]?w.setUTCHours:w.setHours;y[9]&&(_=Number(y[9]+y[10]),I=Number(y[9]+y[11])),B.call(w,Number(y[1]),Number(y[2])-1,Number(y[3]));const Be=Number(y[4]||0)-_,ze=Number(y[5]||0)-I,kt=Number(y[6]||0),jt=Math.floor(1e3*parseFloat("0."+(y[7]||0)));return Ie.call(w,Be,ze,kt,jt),w}(I)}const w=new Date(y);if(!H(w))throw new Error(`Unable to convert "${y}" into a date`);return w}(y);w=le(_,w)||w;let ze,Be=[];for(;w;){if(ze=be.exec(w),!ze){Be.push(w);break}{Be=Be.concat(ze.slice(1));const Tt=Be.pop();if(!Tt)break;w=Tt}}let kt=B.getTimezoneOffset();I&&(kt=tr(I,kt),B=function ue(y,w,_){const I=_?-1:1,B=y.getTimezoneOffset();return function ni(y,w){return(y=new Date(y.getTime())).setMinutes(y.getMinutes()+w),y}(y,I*(tr(w,B)-B))}(B,I,!0));let jt="";return Be.forEach(Tt=>{const ft=function er(y){if(bn[y])return bn[y];let w;switch(y){case"G":case"GG":case"GGG":w=lt(Pe.Eras,Re.Abbreviated);break;case"GGGG":w=lt(Pe.Eras,Re.Wide);break;case"GGGGG":w=lt(Pe.Eras,Re.Narrow);break;case"y":w=ke(se.FullYear,1,0,!1,!0);break;case"yy":w=ke(se.FullYear,2,0,!0,!0);break;case"yyy":w=ke(se.FullYear,3,0,!1,!0);break;case"yyyy":w=ke(se.FullYear,4,0,!1,!0);break;case"Y":w=fn(1);break;case"YY":w=fn(2,!0);break;case"YYY":w=fn(3);break;case"YYYY":w=fn(4);break;case"M":case"L":w=ke(se.Month,1,1);break;case"MM":case"LL":w=ke(se.Month,2,1);break;case"MMM":w=lt(Pe.Months,Re.Abbreviated);break;case"MMMM":w=lt(Pe.Months,Re.Wide);break;case"MMMMM":w=lt(Pe.Months,Re.Narrow);break;case"LLL":w=lt(Pe.Months,Re.Abbreviated,ge.Standalone);break;case"LLLL":w=lt(Pe.Months,Re.Wide,ge.Standalone);break;case"LLLLL":w=lt(Pe.Months,Re.Narrow,ge.Standalone);break;case"w":w=Un(1);break;case"ww":w=Un(2);break;case"W":w=Un(1,!0);break;case"d":w=ke(se.Date,1);break;case"dd":w=ke(se.Date,2);break;case"c":case"cc":w=ke(se.Day,1);break;case"ccc":w=lt(Pe.Days,Re.Abbreviated,ge.Standalone);break;case"cccc":w=lt(Pe.Days,Re.Wide,ge.Standalone);break;case"ccccc":w=lt(Pe.Days,Re.Narrow,ge.Standalone);break;case"cccccc":w=lt(Pe.Days,Re.Short,ge.Standalone);break;case"E":case"EE":case"EEE":w=lt(Pe.Days,Re.Abbreviated);break;case"EEEE":w=lt(Pe.Days,Re.Wide);break;case"EEEEE":w=lt(Pe.Days,Re.Narrow);break;case"EEEEEE":w=lt(Pe.Days,Re.Short);break;case"a":case"aa":case"aaa":w=lt(Pe.DayPeriods,Re.Abbreviated);break;case"aaaa":w=lt(Pe.DayPeriods,Re.Wide);break;case"aaaaa":w=lt(Pe.DayPeriods,Re.Narrow);break;case"b":case"bb":case"bbb":w=lt(Pe.DayPeriods,Re.Abbreviated,ge.Standalone,!0);break;case"bbbb":w=lt(Pe.DayPeriods,Re.Wide,ge.Standalone,!0);break;case"bbbbb":w=lt(Pe.DayPeriods,Re.Narrow,ge.Standalone,!0);break;case"B":case"BB":case"BBB":w=lt(Pe.DayPeriods,Re.Abbreviated,ge.Format,!0);break;case"BBBB":w=lt(Pe.DayPeriods,Re.Wide,ge.Format,!0);break;case"BBBBB":w=lt(Pe.DayPeriods,Re.Narrow,ge.Format,!0);break;case"h":w=ke(se.Hours,1,-12);break;case"hh":w=ke(se.Hours,2,-12);break;case"H":w=ke(se.Hours,1);break;case"HH":w=ke(se.Hours,2);break;case"m":w=ke(se.Minutes,1);break;case"mm":w=ke(se.Minutes,2);break;case"s":w=ke(se.Seconds,1);break;case"ss":w=ke(se.Seconds,2);break;case"S":w=ke(se.FractionalSeconds,1);break;case"SS":w=ke(se.FractionalSeconds,2);break;case"SSS":w=ke(se.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":w=St(_e.Short);break;case"ZZZZZ":w=St(_e.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":w=St(_e.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":w=St(_e.Long);break;default:return null}return bn[y]=w,w}(Tt);jt+=ft?ft(B,_,kt):"''"===Tt?"'":Tt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),jt}function ut(y,w,_){const I=new Date(0);return I.setFullYear(y,w,_),I.setHours(0,0,0),I}function le(y,w){const _=function Ge(y){return(0,p.cg1)(y)[p.wAp.LocaleId]}(y);if(J[_]=J[_]||{},J[_][w])return J[_][w];let I="";switch(w){case"shortDate":I=Oe(y,Ce.Short);break;case"mediumDate":I=Oe(y,Ce.Medium);break;case"longDate":I=Oe(y,Ce.Long);break;case"fullDate":I=Oe(y,Ce.Full);break;case"shortTime":I=Ue(y,Ce.Short);break;case"mediumTime":I=Ue(y,Ce.Medium);break;case"longTime":I=Ue(y,Ce.Long);break;case"fullTime":I=Ue(y,Ce.Full);break;case"short":const B=le(y,"shortTime"),Ie=le(y,"shortDate");I=me(qe(y,Ce.Short),[B,Ie]);break;case"medium":const Be=le(y,"mediumTime"),ze=le(y,"mediumDate");I=me(qe(y,Ce.Medium),[Be,ze]);break;case"long":const kt=le(y,"longTime"),jt=le(y,"longDate");I=me(qe(y,Ce.Long),[kt,jt]);break;case"full":const Tt=le(y,"fullTime"),ft=le(y,"fullDate");I=me(qe(y,Ce.Full),[Tt,ft])}return I&&(J[_][w]=I),I}function me(y,w){return w&&(y=y.replace(/\{([^}]+)}/g,function(_,I){return null!=w&&I in w?w[I]:_})),y}function Fe(y,w,_="-",I,B){let Ie="";(y<0||B&&y<=0)&&(B?y=1-y:(y=-y,Ie=_));let Be=String(y);for(;Be.length0||ze>-_)&&(ze+=_),y===se.Hours)0===ze&&-12===_&&(ze=12);else if(y===se.FractionalSeconds)return function We(y,w){return Fe(y,3).substr(0,w)}(ze,w);const kt=st(Be,W.MinusSign);return Fe(ze,w,kt,I,B)}}function lt(y,w,_=ge.Format,I=!1){return function(B,Ie){return function gn(y,w,_,I,B,Ie){switch(_){case Pe.Months:return function ee(y,w,_){const I=(0,p.cg1)(y),Ie=bt([I[p.wAp.MonthsFormat],I[p.wAp.MonthsStandalone]],w);return bt(Ie,_)}(w,B,I)[y.getMonth()];case Pe.Days:return function Y(y,w,_){const I=(0,p.cg1)(y),Ie=bt([I[p.wAp.DaysFormat],I[p.wAp.DaysStandalone]],w);return bt(Ie,_)}(w,B,I)[y.getDay()];case Pe.DayPeriods:const Be=y.getHours(),ze=y.getMinutes();if(Ie){const jt=function Gt(y){const w=(0,p.cg1)(y);return wt(w),(w[p.wAp.ExtraData][2]||[]).map(I=>"string"==typeof I?Ft(I):[Ft(I[0]),Ft(I[1])])}(w),Tt=function Kt(y,w,_){const I=(0,p.cg1)(y);wt(I);const Ie=bt([I[p.wAp.ExtraData][0],I[p.wAp.ExtraData][1]],w)||[];return bt(Ie,_)||[]}(w,B,I),ft=jt.findIndex(Qt=>{if(Array.isArray(Qt)){const[Vt,$t]=Qt,en=Be>=Vt.hours&&ze>=Vt.minutes,vn=Be<$t.hours||Be===$t.hours&&ze<$t.minutes;if(Vt.hours<$t.hours){if(en&&vn)return!0}else if(en||vn)return!0}else if(Qt.hours===Be&&Qt.minutes===ze)return!0;return!1});if(-1!==ft)return Tt[ft]}return function et(y,w,_){const I=(0,p.cg1)(y),Ie=bt([I[p.wAp.DayPeriodsFormat],I[p.wAp.DayPeriodsStandalone]],w);return bt(Ie,_)}(w,B,I)[Be<12?0:1];case Pe.Eras:return function ve(y,w){return bt((0,p.cg1)(y)[p.wAp.Eras],w)}(w,I)[y.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${_}`)}}(B,Ie,y,w,_,I)}}function St(y){return function(w,_,I){const B=-1*I,Ie=st(_,W.MinusSign),Be=B>0?Math.floor(B/60):Math.ceil(B/60);switch(y){case _e.Short:return(B>=0?"+":"")+Fe(Be,2,Ie)+Fe(Math.abs(B%60),2,Ie);case _e.ShortGMT:return"GMT"+(B>=0?"+":"")+Fe(Be,1,Ie);case _e.Long:return"GMT"+(B>=0?"+":"")+Fe(Be,2,Ie)+":"+Fe(Math.abs(B%60),2,Ie);case _e.Extended:return 0===I?"Z":(B>=0?"+":"")+Fe(Be,2,Ie)+":"+Fe(Math.abs(B%60),2,Ie);default:throw new Error(`Unknown zone width "${y}"`)}}}function Kn(y){return ut(y.getFullYear(),y.getMonth(),y.getDate()+(4-y.getDay()))}function Un(y,w=!1){return function(_,I){let B;if(w){const Ie=new Date(_.getFullYear(),_.getMonth(),1).getDay()-1,Be=_.getDate();B=1+Math.floor((Be+Ie)/7)}else{const Ie=Kn(_),Be=function Pn(y){const w=ut(y,0,1).getDay();return ut(y,0,1+(w<=4?4:11)-w)}(Ie.getFullYear()),ze=Ie.getTime()-Be.getTime();B=1+Math.round(ze/6048e5)}return Fe(B,y,st(I,W.MinusSign))}}function fn(y,w=!1){return function(_,I){return Fe(Kn(_).getFullYear(),y,st(I,W.MinusSign),w)}}const bn={};function tr(y,w){y=y.replace(/:/g,"");const _=Date.parse("Jan 01, 1970 00:00:00 "+y)/6e4;return isNaN(_)?w:_}function H(y){return y instanceof Date&&!isNaN(y.valueOf())}const Te=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function vt(y){const w=parseInt(y);if(isNaN(w))throw new Error("Invalid integer literal when parsing "+y);return w}function jn(y,w){w=encodeURIComponent(w);for(const _ of y.split(";")){const I=_.indexOf("="),[B,Ie]=-1==I?[_,""]:[_.slice(0,I),_.slice(I+1)];if(B.trim()===w)return decodeURIComponent(Ie)}return null}class Jn{constructor(w,_,I,B){this.$implicit=w,this.ngForOf=_,this.index=I,this.count=B}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let pt=(()=>{class y{constructor(_,I,B){this._viewContainer=_,this._template=I,this._differs=B,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(_){this._ngForOf=_,this._ngForOfDirty=!0}set ngForTrackBy(_){this._trackByFn=_}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(_){_&&(this._template=_)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const _=this._ngForOf;!this._differ&&_&&(this._differ=this._differs.find(_).create(this.ngForTrackBy))}if(this._differ){const _=this._differ.diff(this._ngForOf);_&&this._applyChanges(_)}}_applyChanges(_){const I=this._viewContainer;_.forEachOperation((B,Ie,Be)=>{if(null==B.previousIndex)I.createEmbeddedView(this._template,new Jn(B.item,this._ngForOf,-1,-1),null===Be?void 0:Be);else if(null==Be)I.remove(null===Ie?void 0:Ie);else if(null!==Ie){const ze=I.get(Ie);I.move(ze,Be),Hn(ze,B)}});for(let B=0,Ie=I.length;B{Hn(I.get(B.currentIndex),B)})}static ngTemplateContextGuard(_,I){return!0}}return y.\u0275fac=function(_){return new(_||y)(p.Y36(p.s_b),p.Y36(p.Rgc),p.Y36(p.ZZ4))},y.\u0275dir=p.lG2({type:y,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),y})();function Hn(y,w){y.context.$implicit=w.item}let On=(()=>{class y{constructor(_,I){this._viewContainer=_,this._context=new nr,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=I}set ngIf(_){this._context.$implicit=this._context.ngIf=_,this._updateView()}set ngIfThen(_){nn("ngIfThen",_),this._thenTemplateRef=_,this._thenViewRef=null,this._updateView()}set ngIfElse(_){nn("ngIfElse",_),this._elseTemplateRef=_,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(_,I){return!0}}return y.\u0275fac=function(_){return new(_||y)(p.Y36(p.s_b),p.Y36(p.Rgc))},y.\u0275dir=p.lG2({type:y,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),y})();class nr{constructor(){this.$implicit=null,this.ngIf=null}}function nn(y,w){if(w&&!w.createEmbeddedView)throw new Error(`${y} must be a TemplateRef, but received '${(0,p.AaK)(w)}'.`)}class xn{constructor(w,_){this._viewContainerRef=w,this._templateRef=_,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(w){w&&!this._created?this.create():!w&&this._created&&this.destroy()}}let Xt=(()=>{class y{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(_){this._ngSwitch=_,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(_){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(_)}_matchCase(_){const I=_==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||I,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),I}_updateDefaultCases(_){if(this._defaultViews&&_!==this._defaultUsed){this._defaultUsed=_;for(let I=0;I{class y{constructor(_,I,B){this.ngSwitch=B,B._addCase(),this._view=new xn(_,I)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return y.\u0275fac=function(_){return new(_||y)(p.Y36(p.s_b),p.Y36(p.Rgc),p.Y36(Xt,9))},y.\u0275dir=p.lG2({type:y,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),y})();function an(y,w){return new p.vHH(2100,"")}const io=new p.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let Ur=(()=>{class y{constructor(_,I){this.locale=_,this.defaultTimezone=I}transform(_,I="mediumDate",B,Ie){var Be;if(null==_||""===_||_!=_)return null;try{return yt(_,I,Ie||this.locale,null!==(Be=null!=B?B:this.defaultTimezone)&&void 0!==Be?Be:void 0)}catch(ze){throw an()}}}return y.\u0275fac=function(_){return new(_||y)(p.Y36(p.soG,16),p.Y36(io,24))},y.\u0275pipe=p.Yjl({name:"date",type:y,pure:!0}),y})(),Vi=(()=>{class y{constructor(_){this._locale=_}transform(_,I,B){if(!function _i(y){return!(null==y||""===y||y!=y)}(_))return null;B=B||this._locale;try{return function Mn(y,w,_){return function Dr(y,w,_,I,B,Ie,Be=!1){let ze="",kt=!1;if(isFinite(y)){let jt=function mn(y){let I,B,Ie,Be,ze,w=Math.abs(y)+"",_=0;for((B=w.indexOf("."))>-1&&(w=w.replace(".","")),(Ie=w.search(/e/i))>0?(B<0&&(B=Ie),B+=+w.slice(Ie+1),w=w.substring(0,Ie)):B<0&&(B=w.length),Ie=0;"0"===w.charAt(Ie);Ie++);if(Ie===(ze=w.length))I=[0],B=1;else{for(ze--;"0"===w.charAt(ze);)ze--;for(B-=Ie,I=[],Be=0;Ie<=ze;Ie++,Be++)I[Be]=Number(w.charAt(Ie))}return B>22&&(I=I.splice(0,21),_=B-1,B=1),{digits:I,exponent:_,integerLen:B}}(y);Be&&(jt=function ur(y){if(0===y.digits[0])return y;const w=y.digits.length-y.integerLen;return y.exponent?y.exponent+=2:(0===w?y.digits.push(0,0):1===w&&y.digits.push(0),y.integerLen+=2),y}(jt));let Tt=w.minInt,ft=w.minFrac,Qt=w.maxFrac;if(Ie){const mr=Ie.match(Te);if(null===mr)throw new Error(`${Ie} is not a valid digit info`);const Xn=mr[1],si=mr[3],ai=mr[5];null!=Xn&&(Tt=vt(Xn)),null!=si&&(ft=vt(si)),null!=ai?Qt=vt(ai):null!=si&&ft>Qt&&(Qt=ft)}!function Ye(y,w,_){if(w>_)throw new Error(`The minimum number of digits after fraction (${w}) is higher than the maximum (${_}).`);let I=y.digits,B=I.length-y.integerLen;const Ie=Math.min(Math.max(w,B),_);let Be=Ie+y.integerLen,ze=I[Be];if(Be>0){I.splice(Math.max(y.integerLen,Be));for(let ft=Be;ft=5)if(Be-1<0){for(let ft=0;ft>Be;ft--)I.unshift(0),y.integerLen++;I.unshift(1),y.integerLen++}else I[Be-1]++;for(;B=jt?$t.pop():kt=!1),Qt>=10?1:0},0);Tt&&(I.unshift(Tt),y.integerLen++)}(jt,ft,Qt);let Vt=jt.digits,$t=jt.integerLen;const en=jt.exponent;let vn=[];for(kt=Vt.every(mr=>!mr);$t0?vn=Vt.splice($t,Vt.length):(vn=Vt,Vt=[0]);const rr=[];for(Vt.length>=w.lgSize&&rr.unshift(Vt.splice(-w.lgSize,Vt.length).join(""));Vt.length>w.gSize;)rr.unshift(Vt.splice(-w.gSize,Vt.length).join(""));Vt.length&&rr.unshift(Vt.join("")),ze=rr.join(st(_,I)),vn.length&&(ze+=st(_,B)+vn.join("")),en&&(ze+=st(_,W.Exponential)+"+"+en)}else ze=st(_,W.Infinity);return ze=y<0&&!kt?w.negPre+ze+w.negSuf:w.posPre+ze+w.posSuf,ze}(y,function Rt(y,w="-"){const _={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},I=y.split(";"),B=I[0],Ie=I[1],Be=-1!==B.indexOf(".")?B.split("."):[B.substring(0,B.lastIndexOf("0")+1),B.substring(B.lastIndexOf("0")+1)],ze=Be[0],kt=Be[1]||"";_.posPre=ze.substr(0,ze.indexOf("#"));for(let Tt=0;Tt{class y{}return y.\u0275fac=function(_){return new(_||y)},y.\u0275mod=p.oAB({type:y}),y.\u0275inj=p.cJS({}),y})();const fr="browser";function Ci(y){return y===fr}function Ui(y){return"server"===y}let on=(()=>{class y{}return y.\u0275prov=(0,p.Yz7)({token:y,providedIn:"root",factory:()=>new gr((0,p.LFG)(U),window)}),y})();class gr{constructor(w,_){this.document=w,this.window=_,this.offset=()=>[0,0]}setOffset(w){this.offset=Array.isArray(w)?()=>w:w}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(w){this.supportsScrolling()&&this.window.scrollTo(w[0],w[1])}scrollToAnchor(w){if(!this.supportsScrolling())return;const _=function jr(y,w){const _=y.getElementById(w)||y.getElementsByName(w)[0];if(_)return _;if("function"==typeof y.createTreeWalker&&y.body&&(y.body.createShadowRoot||y.body.attachShadow)){const I=y.createTreeWalker(y.body,NodeFilter.SHOW_ELEMENT);let B=I.currentNode;for(;B;){const Ie=B.shadowRoot;if(Ie){const Be=Ie.getElementById(w)||Ie.querySelector(`[name="${w}"]`);if(Be)return Be}B=I.nextNode()}}return null}(this.document,w);_&&(this.scrollToElement(_),_.focus())}setHistoryScrollRestoration(w){if(this.supportScrollRestoration()){const _=this.window.history;_&&_.scrollRestoration&&(_.scrollRestoration=w)}}scrollToElement(w){const _=w.getBoundingClientRect(),I=_.left+this.window.pageXOffset,B=_.top+this.window.pageYOffset,Ie=this.offset();this.window.scrollTo(I-Ie[0],B-Ie[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const w=qn(this.window.history)||qn(Object.getPrototypeOf(this.window.history));return!(!w||!w.writable&&!w.set)}catch(w){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(w){return!1}}}function qn(y){return Object.getOwnPropertyDescriptor(y,"scrollRestoration")}class Hi{}},520:(je,ce,D)=>{"use strict";D.d(ce,{TP:()=>Ge,eN:()=>W,JF:()=>Ft,Zn:()=>ge});var p=D(9808),d=D(7587),G=D(9646),L=D(8306),K=D(4351),Z=D(9300),U=D(4004);class ne{}class q{}class F{constructor(Q){this.normalizedNames=new Map,this.lazyUpdate=null,Q?this.lazyInit="string"==typeof Q?()=>{this.headers=new Map,Q.split("\n").forEach(J=>{const be=J.indexOf(":");if(be>0){const _e=J.slice(0,be),se=_e.toLowerCase(),Pe=J.slice(be+1).trim();this.maybeSetNormalizedName(_e,se),this.headers.has(se)?this.headers.get(se).push(Pe):this.headers.set(se,[Pe])}})}:()=>{this.headers=new Map,Object.keys(Q).forEach(J=>{let be=Q[J];const _e=J.toLowerCase();"string"==typeof be&&(be=[be]),be.length>0&&(this.headers.set(_e,be),this.maybeSetNormalizedName(J,_e))})}:this.headers=new Map}has(Q){return this.init(),this.headers.has(Q.toLowerCase())}get(Q){this.init();const J=this.headers.get(Q.toLowerCase());return J&&J.length>0?J[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Q){return this.init(),this.headers.get(Q.toLowerCase())||null}append(Q,J){return this.clone({name:Q,value:J,op:"a"})}set(Q,J){return this.clone({name:Q,value:J,op:"s"})}delete(Q,J){return this.clone({name:Q,value:J,op:"d"})}maybeSetNormalizedName(Q,J){this.normalizedNames.has(J)||this.normalizedNames.set(J,Q)}init(){this.lazyInit&&(this.lazyInit instanceof F?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Q=>this.applyUpdate(Q)),this.lazyUpdate=null))}copyFrom(Q){Q.init(),Array.from(Q.headers.keys()).forEach(J=>{this.headers.set(J,Q.headers.get(J)),this.normalizedNames.set(J,Q.normalizedNames.get(J))})}clone(Q){const J=new F;return J.lazyInit=this.lazyInit&&this.lazyInit instanceof F?this.lazyInit:this,J.lazyUpdate=(this.lazyUpdate||[]).concat([Q]),J}applyUpdate(Q){const J=Q.name.toLowerCase();switch(Q.op){case"a":case"s":let be=Q.value;if("string"==typeof be&&(be=[be]),0===be.length)return;this.maybeSetNormalizedName(Q.name,J);const _e=("a"===Q.op?this.headers.get(J):void 0)||[];_e.push(...be),this.headers.set(J,_e);break;case"d":const se=Q.value;if(se){let Pe=this.headers.get(J);if(!Pe)return;Pe=Pe.filter(yt=>-1===se.indexOf(yt)),0===Pe.length?(this.headers.delete(J),this.normalizedNames.delete(J)):this.headers.set(J,Pe)}else this.headers.delete(J),this.normalizedNames.delete(J)}}forEach(Q){this.init(),Array.from(this.normalizedNames.keys()).forEach(J=>Q(this.normalizedNames.get(J),this.headers.get(J)))}}class j{encodeKey(Q){return V(Q)}encodeValue(Q){return V(Q)}decodeKey(Q){return decodeURIComponent(Q)}decodeValue(Q){return decodeURIComponent(Q)}}const R=/%(\d[a-f0-9])/gi,x={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function V(Se){return encodeURIComponent(Se).replace(R,(Q,J)=>{var be;return null!==(be=x[J])&&void 0!==be?be:Q})}function de(Se){return`${Se}`}class T{constructor(Q={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Q.encoder||new j,Q.fromString){if(Q.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function O(Se,Q){const J=new Map;return Se.length>0&&Se.replace(/^\?/,"").split("&").forEach(_e=>{const se=_e.indexOf("="),[Pe,yt]=-1==se?[Q.decodeKey(_e),""]:[Q.decodeKey(_e.slice(0,se)),Q.decodeValue(_e.slice(se+1))],ut=J.get(Pe)||[];ut.push(yt),J.set(Pe,ut)}),J}(Q.fromString,this.encoder)}else Q.fromObject?(this.map=new Map,Object.keys(Q.fromObject).forEach(J=>{const be=Q.fromObject[J];this.map.set(J,Array.isArray(be)?be:[be])})):this.map=null}has(Q){return this.init(),this.map.has(Q)}get(Q){this.init();const J=this.map.get(Q);return J?J[0]:null}getAll(Q){return this.init(),this.map.get(Q)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Q,J){return this.clone({param:Q,value:J,op:"a"})}appendAll(Q){const J=[];return Object.keys(Q).forEach(be=>{const _e=Q[be];Array.isArray(_e)?_e.forEach(se=>{J.push({param:be,value:se,op:"a"})}):J.push({param:be,value:_e,op:"a"})}),this.clone(J)}set(Q,J){return this.clone({param:Q,value:J,op:"s"})}delete(Q,J){return this.clone({param:Q,value:J,op:"d"})}toString(){return this.init(),this.keys().map(Q=>{const J=this.encoder.encodeKey(Q);return this.map.get(Q).map(be=>J+"="+this.encoder.encodeValue(be)).join("&")}).filter(Q=>""!==Q).join("&")}clone(Q){const J=new T({encoder:this.encoder});return J.cloneFrom=this.cloneFrom||this,J.updates=(this.updates||[]).concat(Q),J}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Q=>this.map.set(Q,this.cloneFrom.map.get(Q))),this.updates.forEach(Q=>{switch(Q.op){case"a":case"s":const J=("a"===Q.op?this.map.get(Q.param):void 0)||[];J.push(de(Q.value)),this.map.set(Q.param,J);break;case"d":if(void 0===Q.value){this.map.delete(Q.param);break}{let be=this.map.get(Q.param)||[];const _e=be.indexOf(de(Q.value));-1!==_e&&be.splice(_e,1),be.length>0?this.map.set(Q.param,be):this.map.delete(Q.param)}}}),this.cloneFrom=this.updates=null)}}class re{constructor(){this.map=new Map}set(Q,J){return this.map.set(Q,J),this}get(Q){return this.map.has(Q)||this.map.set(Q,Q.defaultValue()),this.map.get(Q)}delete(Q){return this.map.delete(Q),this}has(Q){return this.map.has(Q)}keys(){return this.map.keys()}}function oe(Se){return"undefined"!=typeof ArrayBuffer&&Se instanceof ArrayBuffer}function k(Se){return"undefined"!=typeof Blob&&Se instanceof Blob}function Me(Se){return"undefined"!=typeof FormData&&Se instanceof FormData}class pe{constructor(Q,J,be,_e){let se;if(this.url=J,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Q.toUpperCase(),function fe(Se){switch(Se){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||_e?(this.body=void 0!==be?be:null,se=_e):se=be,se&&(this.reportProgress=!!se.reportProgress,this.withCredentials=!!se.withCredentials,se.responseType&&(this.responseType=se.responseType),se.headers&&(this.headers=se.headers),se.context&&(this.context=se.context),se.params&&(this.params=se.params)),this.headers||(this.headers=new F),this.context||(this.context=new re),this.params){const Pe=this.params.toString();if(0===Pe.length)this.urlWithParams=J;else{const yt=J.indexOf("?");this.urlWithParams=J+(-1===yt?"?":ytWe.set(ke,Q.setHeaders[ke]),le)),Q.setParams&&(me=Object.keys(Q.setParams).reduce((We,ke)=>We.set(ke,Q.setParams[ke]),me)),new pe(be,_e,Pe,{params:me,headers:le,context:Fe,reportProgress:ut,responseType:se,withCredentials:yt})}}var ye=(()=>((ye=ye||{})[ye.Sent=0]="Sent",ye[ye.UploadProgress=1]="UploadProgress",ye[ye.ResponseHeader=2]="ResponseHeader",ye[ye.DownloadProgress=3]="DownloadProgress",ye[ye.Response=4]="Response",ye[ye.User=5]="User",ye))();class ae{constructor(Q,J=200,be="OK"){this.headers=Q.headers||new F,this.status=void 0!==Q.status?Q.status:J,this.statusText=Q.statusText||be,this.url=Q.url||null,this.ok=this.status>=200&&this.status<300}}class Ee extends ae{constructor(Q={}){super(Q),this.type=ye.ResponseHeader}clone(Q={}){return new Ee({headers:Q.headers||this.headers,status:void 0!==Q.status?Q.status:this.status,statusText:Q.statusText||this.statusText,url:Q.url||this.url||void 0})}}class ge extends ae{constructor(Q={}){super(Q),this.type=ye.Response,this.body=void 0!==Q.body?Q.body:null}clone(Q={}){return new ge({body:void 0!==Q.body?Q.body:this.body,headers:Q.headers||this.headers,status:void 0!==Q.status?Q.status:this.status,statusText:Q.statusText||this.statusText,url:Q.url||this.url||void 0})}}class Re extends ae{constructor(Q){super(Q,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Q.url||"(unknown url)"}`:`Http failure response for ${Q.url||"(unknown url)"}: ${Q.status} ${Q.statusText}`,this.error=Q.error||null}}function Ce(Se,Q){return{body:Q,headers:Se.headers,context:Se.context,observe:Se.observe,params:Se.params,reportProgress:Se.reportProgress,responseType:Se.responseType,withCredentials:Se.withCredentials}}let W=(()=>{class Se{constructor(J){this.handler=J}request(J,be,_e={}){let se;if(J instanceof pe)se=J;else{let ut,le;ut=_e.headers instanceof F?_e.headers:new F(_e.headers),_e.params&&(le=_e.params instanceof T?_e.params:new T({fromObject:_e.params})),se=new pe(J,be,void 0!==_e.body?_e.body:null,{headers:ut,context:_e.context,params:le,reportProgress:_e.reportProgress,responseType:_e.responseType||"json",withCredentials:_e.withCredentials})}const Pe=(0,G.of)(se).pipe((0,K.b)(ut=>this.handler.handle(ut)));if(J instanceof pe||"events"===_e.observe)return Pe;const yt=Pe.pipe((0,Z.h)(ut=>ut instanceof ge));switch(_e.observe||"body"){case"body":switch(se.responseType){case"arraybuffer":return yt.pipe((0,U.U)(ut=>{if(null!==ut.body&&!(ut.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return ut.body}));case"blob":return yt.pipe((0,U.U)(ut=>{if(null!==ut.body&&!(ut.body instanceof Blob))throw new Error("Response is not a Blob.");return ut.body}));case"text":return yt.pipe((0,U.U)(ut=>{if(null!==ut.body&&"string"!=typeof ut.body)throw new Error("Response is not a string.");return ut.body}));default:return yt.pipe((0,U.U)(ut=>ut.body))}case"response":return yt;default:throw new Error(`Unreachable: unhandled observe type ${_e.observe}}`)}}delete(J,be={}){return this.request("DELETE",J,be)}get(J,be={}){return this.request("GET",J,be)}head(J,be={}){return this.request("HEAD",J,be)}jsonp(J,be){return this.request("JSONP",J,{params:(new T).append(be,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(J,be={}){return this.request("OPTIONS",J,be)}patch(J,be,_e={}){return this.request("PATCH",J,Ce(_e,be))}post(J,be,_e={}){return this.request("POST",J,Ce(_e,be))}put(J,be,_e={}){return this.request("PUT",J,Ce(_e,be))}}return Se.\u0275fac=function(J){return new(J||Se)(d.LFG(ne))},Se.\u0275prov=d.Yz7({token:Se,factory:Se.\u0275fac}),Se})();class He{constructor(Q,J){this.next=Q,this.interceptor=J}handle(Q){return this.interceptor.intercept(Q,this.next)}}const Ge=new d.OlP("HTTP_INTERCEPTORS");let et=(()=>{class Se{intercept(J,be){return be.handle(J)}}return Se.\u0275fac=function(J){return new(J||Se)},Se.\u0275prov=d.Yz7({token:Se,factory:Se.\u0275fac}),Se})();const st=/^\)\]\}',?\n/;let it=(()=>{class Se{constructor(J){this.xhrFactory=J}handle(J){if("JSONP"===J.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new L.y(be=>{const _e=this.xhrFactory.build();if(_e.open(J.method,J.urlWithParams),J.withCredentials&&(_e.withCredentials=!0),J.headers.forEach((ke,Ke)=>_e.setRequestHeader(ke,Ke.join(","))),J.headers.has("Accept")||_e.setRequestHeader("Accept","application/json, text/plain, */*"),!J.headers.has("Content-Type")){const ke=J.detectContentTypeHeader();null!==ke&&_e.setRequestHeader("Content-Type",ke)}if(J.responseType){const ke=J.responseType.toLowerCase();_e.responseType="json"!==ke?ke:"text"}const se=J.serializeBody();let Pe=null;const yt=()=>{if(null!==Pe)return Pe;const ke=_e.statusText||"OK",Ke=new F(_e.getAllResponseHeaders()),lt=function rt(Se){return"responseURL"in Se&&Se.responseURL?Se.responseURL:/^X-Request-URL:/m.test(Se.getAllResponseHeaders())?Se.getResponseHeader("X-Request-URL"):null}(_e)||J.url;return Pe=new Ee({headers:Ke,status:_e.status,statusText:ke,url:lt}),Pe},ut=()=>{let{headers:ke,status:Ke,statusText:lt,url:gn}=yt(),St=null;204!==Ke&&(St=void 0===_e.response?_e.responseText:_e.response),0===Ke&&(Ke=St?200:0);let dt=Ke>=200&&Ke<300;if("json"===J.responseType&&"string"==typeof St){const Ht=St;St=St.replace(st,"");try{St=""!==St?JSON.parse(St):null}catch(Pn){St=Ht,dt&&(dt=!1,St={error:Pn,text:St})}}dt?(be.next(new ge({body:St,headers:ke,status:Ke,statusText:lt,url:gn||void 0})),be.complete()):be.error(new Re({error:St,headers:ke,status:Ke,statusText:lt,url:gn||void 0}))},le=ke=>{const{url:Ke}=yt(),lt=new Re({error:ke,status:_e.status||0,statusText:_e.statusText||"Unknown Error",url:Ke||void 0});be.error(lt)};let me=!1;const Fe=ke=>{me||(be.next(yt()),me=!0);let Ke={type:ye.DownloadProgress,loaded:ke.loaded};ke.lengthComputable&&(Ke.total=ke.total),"text"===J.responseType&&!!_e.responseText&&(Ke.partialText=_e.responseText),be.next(Ke)},We=ke=>{let Ke={type:ye.UploadProgress,loaded:ke.loaded};ke.lengthComputable&&(Ke.total=ke.total),be.next(Ke)};return _e.addEventListener("load",ut),_e.addEventListener("error",le),_e.addEventListener("timeout",le),_e.addEventListener("abort",le),J.reportProgress&&(_e.addEventListener("progress",Fe),null!==se&&_e.upload&&_e.upload.addEventListener("progress",We)),_e.send(se),be.next({type:ye.Sent}),()=>{_e.removeEventListener("error",le),_e.removeEventListener("abort",le),_e.removeEventListener("load",ut),_e.removeEventListener("timeout",le),J.reportProgress&&(_e.removeEventListener("progress",Fe),null!==se&&_e.upload&&_e.upload.removeEventListener("progress",We)),_e.readyState!==_e.DONE&&_e.abort()}})}}return Se.\u0275fac=function(J){return new(J||Se)(d.LFG(p.JF))},Se.\u0275prov=d.Yz7({token:Se,factory:Se.\u0275fac}),Se})();const Et=new d.OlP("XSRF_COOKIE_NAME"),Ut=new d.OlP("XSRF_HEADER_NAME");class tt{}let It=(()=>{class Se{constructor(J,be,_e){this.doc=J,this.platform=be,this.cookieName=_e,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const J=this.doc.cookie||"";return J!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,p.Mx)(J,this.cookieName),this.lastCookieString=J),this.lastToken}}return Se.\u0275fac=function(J){return new(J||Se)(d.LFG(p.K0),d.LFG(d.Lbi),d.LFG(Et))},Se.\u0275prov=d.Yz7({token:Se,factory:Se.\u0275fac}),Se})(),wt=(()=>{class Se{constructor(J,be){this.tokenService=J,this.headerName=be}intercept(J,be){const _e=J.url.toLowerCase();if("GET"===J.method||"HEAD"===J.method||_e.startsWith("http://")||_e.startsWith("https://"))return be.handle(J);const se=this.tokenService.getToken();return null!==se&&!J.headers.has(this.headerName)&&(J=J.clone({headers:J.headers.set(this.headerName,se)})),be.handle(J)}}return Se.\u0275fac=function(J){return new(J||Se)(d.LFG(tt),d.LFG(Ut))},Se.\u0275prov=d.Yz7({token:Se,factory:Se.\u0275fac}),Se})(),Gt=(()=>{class Se{constructor(J,be){this.backend=J,this.injector=be,this.chain=null}handle(J){if(null===this.chain){const be=this.injector.get(Ge,[]);this.chain=be.reduceRight((_e,se)=>new He(_e,se),this.backend)}return this.chain.handle(J)}}return Se.\u0275fac=function(J){return new(J||Se)(d.LFG(q),d.LFG(d.zs3))},Se.\u0275prov=d.Yz7({token:Se,factory:Se.\u0275fac}),Se})(),bt=(()=>{class Se{static disable(){return{ngModule:Se,providers:[{provide:wt,useClass:et}]}}static withOptions(J={}){return{ngModule:Se,providers:[J.cookieName?{provide:Et,useValue:J.cookieName}:[],J.headerName?{provide:Ut,useValue:J.headerName}:[]]}}}return Se.\u0275fac=function(J){return new(J||Se)},Se.\u0275mod=d.oAB({type:Se}),Se.\u0275inj=d.cJS({providers:[wt,{provide:Ge,useExisting:wt,multi:!0},{provide:tt,useClass:It},{provide:Et,useValue:"XSRF-TOKEN"},{provide:Ut,useValue:"X-XSRF-TOKEN"}]}),Se})(),Ft=(()=>{class Se{}return Se.\u0275fac=function(J){return new(J||Se)},Se.\u0275mod=d.oAB({type:Se}),Se.\u0275inj=d.cJS({providers:[W,{provide:ne,useClass:Gt},it,{provide:q,useExisting:it}],imports:[[bt.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),Se})()},7587:(je,ce,D)=>{"use strict";D.d(ce,{deG:()=>Og,tb:()=>ig,AFp:()=>eg,ip1:()=>Xp,CZH:()=>Lu,hGG:()=>UC,z2F:()=>$u,sBO:()=>wC,Sil:()=>oC,_Vd:()=>Ma,EJc:()=>rC,SBq:()=>Ps,qLn:()=>ra,vpe:()=>ti,tBr:()=>qs,XFs:()=>ot,OlP:()=>un,zs3:()=>Fr,IIB:()=>tC,ZZ4:()=>Ju,aQg:()=>Zu,soG:()=>Vu,YKP:()=>cp,h0i:()=>Yo,PXZ:()=>vC,R0b:()=>kr,FiY:()=>fs,Lbi:()=>rg,g9A:()=>ng,Qsj:()=>eD,FYo:()=>sp,JOm:()=>Zr,q3G:()=>cn,tp0:()=>hs,Rgc:()=>Ls,dDg:()=>lg,GfV:()=>ap,s_b:()=>Sa,ifc:()=>le,eFA:()=>dg,G48:()=>bC,Gpc:()=>de,_c5:()=>BC,VLi:()=>pC,c2e:()=>og,zSh:()=>jl,wAp:()=>ht,vHH:()=>fe,EiD:()=>Fc,mCW:()=>gs,qzn:()=>Mo,JVY:()=>lm,pB0:()=>fm,eBb:()=>cm,L6k:()=>um,LAX:()=>dm,cg1:()=>hu,kL8:()=>xh,yhl:()=>Mc,dqk:()=>Ke,sIi:()=>ws,CqO:()=>kf,QGY:()=>ou,F4k:()=>Lf,RDi:()=>w,AaK:()=>R,z3N:()=>di,qOj:()=>Wl,TTD:()=>fr,_Bn:()=>rp,xp6:()=>gd,uIk:()=>Jl,ekj:()=>uu,Suo:()=>Pp,Xpm:()=>tr,lG2:()=>mt,Yz7:()=>it,cJS:()=>Ut,oAB:()=>H,Yjl:()=>zt,Y36:()=>As,_UZ:()=>nu,qZA:()=>va,TgZ:()=>ma,EpF:()=>Nf,n5z:()=>Ti,LFG:()=>In,$8M:()=>Ha,$Z:()=>Ff,NdJ:()=>su,CRH:()=>Fp,kcU:()=>Hs,O4$:()=>js,oxw:()=>jf,ALo:()=>Ep,lcZ:()=>bp,xi3:()=>wp,Q6J:()=>eu,DdM:()=>pp,VKq:()=>gp,WLB:()=>mp,iGM:()=>xp,evT:()=>$c,Jf7:()=>Hc,CHM:()=>lo,oJD:()=>Rc,LSH:()=>nl,kYT:()=>Te,YNc:()=>Ef,_uU:()=>dh,Oqu:()=>du,hij:()=>_a,AsE:()=>fu,Gf:()=>Tp});var p=D(8189),d=D(8421),G=D(515),L=D(3269),K=D(2076),U=D(7579),ne=D(727),q=D(8306),F=D(3099);function j(e){for(let t in e)if(e[t]===j)return t;throw Error("Could not find renamed property on target object.")}function O(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function R(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(R).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function x(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const V=j({__forward_ref__:j});function de(e){return e.__forward_ref__=de,e.toString=function(){return R(this())},e}function T(e){return ie(e)?e():e}function ie(e){return"function"==typeof e&&e.hasOwnProperty(V)&&e.__forward_ref__===de}class fe extends Error{constructor(t,n){super(function oe(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function k(e){return"string"==typeof e?e:null==e?"":String(e)}function Me(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():k(e)}function ae(e,t){const n=t?` in ${t}`:"";throw new fe(-201,`No provider for ${Me(e)} found${n}`)}function Oe(e,t){null==e&&function Ue(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function it(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ut(e){return{providers:e.providers||[],imports:e.imports||[]}}function tt(e){return It(e,dn)||It(e,Ft)}function It(e,t){return e.hasOwnProperty(t)?e[t]:null}function Kt(e){return e&&(e.hasOwnProperty(bt)||e.hasOwnProperty(Sn))?e[bt]:null}const dn=j({\u0275prov:j}),bt=j({\u0275inj:j}),Ft=j({ngInjectableDef:j}),Sn=j({ngInjectorDef:j});var ot=(()=>((ot=ot||{})[ot.Default=0]="Default",ot[ot.Host=1]="Host",ot[ot.Self=2]="Self",ot[ot.SkipSelf=4]="SkipSelf",ot[ot.Optional=8]="Optional",ot))();let Se;function J(e){const t=Se;return Se=e,t}function be(e,t,n){const r=tt(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&ot.Optional?null:void 0!==t?t:void ae(R(e),"Injector")}function se(e){return{toString:e}.toString()}var Pe=(()=>((Pe=Pe||{})[Pe.OnPush=0]="OnPush",Pe[Pe.Default=1]="Default",Pe))(),le=(()=>{return(e=le||(le={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",le;var e})();const me="undefined"!=typeof globalThis&&globalThis,Fe="undefined"!=typeof window&&window,We="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ke=me||"undefined"!=typeof global&&global||Fe||We,St={},dt=[],Ht=j({\u0275cmp:j}),Pn=j({\u0275dir:j}),Kn=j({\u0275pipe:j}),Un=j({\u0275mod:j}),fn=j({\u0275fac:j}),bn=j({__NG_ELEMENT_ID__:j});let er=0;function tr(e){return se(()=>{const n={},r={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Pe.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||dt,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||le.Emulated,id:"c",styles:e.styles||dt,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,o=e.features,s=e.pipes;return r.id+=er++,r.inputs=at(e.inputs,n),r.outputs=at(e.outputs),o&&o.forEach(u=>u(r)),r.directiveDefs=i?()=>("function"==typeof i?i():i).map(ue):null,r.pipeDefs=s?()=>("function"==typeof s?s():s).map(te):null,r})}function ue(e){return Mt(e)||function wn(e){return e[Pn]||null}(e)}function te(e){return function Fn(e){return e[Kn]||null}(e)}const S={};function H(e){return se(()=>{const t={type:e.type,bootstrap:e.bootstrap||dt,declarations:e.declarations||dt,imports:e.imports||dt,exports:e.exports||dt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(S[e.id]=e.type),t})}function Te(e,t){return se(()=>{const n=Yt(e,!0);n.declarations=t.declarations||dt,n.imports=t.imports||dt,n.exports=t.exports||dt})}function at(e,t){if(null==e)return St;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}const mt=tr;function zt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Mt(e){return e[Ht]||null}function Yt(e,t){const n=e[Un]||null;if(!n&&!0===t)throw new Error(`Type ${R(e)} does not have '\u0275mod' property.`);return n}function Tn(e){return Array.isArray(e)&&"object"==typeof e[1]}function An(e){return Array.isArray(e)&&!0===e[1]}function dr(e){return 0!=(8&e.flags)}function Cr(e){return 2==(2&e.flags)}function an(e){return 1==(1&e.flags)}function rn(e){return null!==e.template}function Ri(e){return 0!=(512&e[2])}function $n(e,t){return e.hasOwnProperty(fn)?e[fn]:null}class Zn{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function fr(){return Qn}function Qn(e){return e.type.prototype.ngOnChanges&&(e.setInput=Di),Bi}function Bi(){const e=Ui(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===St)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Di(e,t,n,r){const i=Ui(e)||function hr(e,t){return e[Ci]=t}(e,{previous:St,current:null}),o=i.current||(i.current={}),s=i.previous,u=this.declaredInputs[n],h=s[u];o[u]=new Zn(h&&h.currentValue,t,s===St),e[r]=t}fr.ngInherit=!0;const Ci="__ngSimpleChanges__";function Ui(e){return e[Ci]||null}let y;function w(e){y=e}function _(){return void 0!==y?y:"undefined"!=typeof document?document:void 0}function B(e){return!!e.listen}const Ie={createRenderer:(e,t)=>_()};function ze(e){for(;Array.isArray(e);)e=e[0];return e}function Tt(e,t){return ze(t[e])}function ft(e,t){return ze(t[e.index])}function Vt(e,t){return e.data[t]}function $t(e,t){return e[t]}function en(e,t){const n=t[e];return Tn(n)?n:n[0]}function vn(e){return 4==(4&e[2])}function rr(e){return 128==(128&e[2])}function Xn(e,t){return null==t?null:e[t]}function si(e){e[18]=0}function ai(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const gt={lFrame:or(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Gi(){return gt.bindingsEnabled}function Ve(){return gt.lFrame.lView}function Ct(){return gt.lFrame.tView}function lo(e){return gt.lFrame.contextLView=e,e[8]}function tn(){let e=Hr();for(;null!==e&&64===e.type;)e=e.parent;return e}function Hr(){return gt.lFrame.currentTNode}function kn(e,t){const n=gt.lFrame;n.currentTNode=e,n.isParent=t}function zi(){return gt.lFrame.isParent}function $r(){return gt.isInCheckNoChangesMode}function Ar(e){gt.isInCheckNoChangesMode=e}function ln(){const e=gt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Gr(){return gt.lFrame.bindingIndex++}function ir(e){const t=gt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function fo(e,t){const n=gt.lFrame;n.bindingIndex=n.bindingRootIndex=e,v(t)}function v(e){gt.lFrame.currentDirectiveIndex=e}function f(){return gt.lFrame.currentQueryIndex}function M(e){gt.lFrame.currentQueryIndex=e}function we(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Ze(e,t,n){if(n&ot.SkipSelf){let i=t,o=e;for(;!(i=i.parent,null!==i||n&ot.Host||(i=we(o),null===i||(o=o[15],10&i.type))););if(null===i)return!1;t=i,e=o}const r=gt.lFrame=yn();return r.currentTNode=t,r.lView=e,!0}function Nt(e){const t=yn(),n=e[1];gt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function yn(){const e=gt.lFrame,t=null===e?null:e.child;return null===t?or(e):t}function or(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Ir(){const e=gt.lFrame;return gt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Sr=Ir;function zr(){const e=Ir();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function _n(){return gt.lFrame.selectedIndex}function Or(e){gt.lFrame.selectedIndex=e}function qt(){const e=gt.lFrame;return Vt(e.tView,e.selectedIndex)}function js(){gt.lFrame.currentNamespace="svg"}function Hs(){!function $s(){gt.lFrame.currentNamespace=null}()}function Dn(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[h]<0&&(e[18]+=65536),(u>11>16&&(3&e[2])===t){e[2]+=2048;try{o.call(u)}finally{}}}else try{o.call(u)}finally{}}class Zi{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function go(e,t,n){const r=B(e);let i=0;for(;it){s=o-1;break}}}for(;o>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let rs=!0;function xi(e){const t=rs;return rs=e,t}let ja=0;function c(e,t){const n=a(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,l(r.data,e),l(t,null),l(r.blueprint,null));const i=m(e,t),o=e.injectorIndex;if(Ks(i)){const s=ui(i),u=Oi(i,t),h=u[1].data;for(let E=0;E<8;E++)t[o+E]=u[s+E]|h[s+E]}return t[o+8]=i,o}function l(e,t){e.push(0,0,0,0,0,0,0,0,t)}function a(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function m(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){const o=i[1],s=o.type;if(r=2===s?o.declTNode:1===s?i[6]:null,null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function C(e,t,n){!function lc(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(bn)&&(r=n[bn]),null==r&&(r=n[bn]=ja++);const i=255&r;t.data[e+(i>>5)]|=1<=0?255&t:_t:t}(n);if("function"==typeof o){if(!Ze(t,e,r))return r&ot.Host?N(i,n,r):$(t,n,r,i);try{const s=o(r);if(null!=s||r&ot.Optional)return s;ae(n)}finally{Sr()}}else if("number"==typeof o){let s=null,u=a(e,t),h=-1,E=r&ot.Host?t[16][6]:null;for((-1===u||r&ot.SkipSelf)&&(h=-1===u?m(e,t):t[u+8],-1!==h&&vo(r,!1)?(s=t[1],u=ui(h),t=Oi(h,t)):u=-1);-1!==u;){const b=t[1];if(Wr(o,u,b.data)){const P=nt(u,t,n,s,r,E);if(P!==Qe)return P}h=t[u+8],-1!==h&&vo(r,t[1].data[u+8]===E)&&Wr(o,u,t)?(s=b,u=ui(h),t=Oi(h,t)):u=-1}}}return $(t,n,r,i)}const Qe={};function _t(){return new ci(tn(),Ve())}function nt(e,t,n,r,i,o){const s=t[1],u=s.data[e+8],b=Pt(u,s,n,null==r?Cr(u)&&rs:r!=s&&0!=(3&u.type),i&ot.Host&&o===u);return null!==b?Ot(t,s,b,u):Qe}function Pt(e,t,n,r,i){const o=e.providerIndexes,s=t.data,u=1048575&o,h=e.directiveStart,b=o>>20,z=i?u+b:e.directiveEnd;for(let he=r?u:u+b;he=h&&xe.type===n)return he}if(i){const he=s[h];if(he&&rn(he)&&he.type===n)return h}return null}function Ot(e,t,n,r){let i=e[n];const o=t.data;if(function Gs(e){return e instanceof Zi}(i)){const s=i;s.resolving&&function X(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new fe(-200,`Circular dependency in DI detected for ${e}${n}`)}(Me(o[n]));const u=xi(s.canSeeViewProviders);s.resolving=!0;const h=s.injectImpl?J(s.injectImpl):null;Ze(e,r,ot.Default);try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function ka(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const s=Qn(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{null!==h&&J(h),xi(u),s.resolving=!1,Sr()}}return i}function Wr(e,t,n){return!!(n[t+(e>>5)]&1<{const t=e.prototype.constructor,n=t[fn]||os(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[fn]||os(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function os(e){return ie(e)?()=>{const t=os(T(e));return t&&t()}:$n(e)}function Ha(e){return function A(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i{const r=$a(t);function i(...o){if(this instanceof i)return r.apply(this,o),this;const s=new i(...o);return u.annotation=s,u;function u(h,E,b){const P=h.hasOwnProperty(_o)?h[_o]:Object.defineProperty(h,_o,{value:[]})[_o];for(;P.length<=b;)P.push(null);return(P[b]=P[b]||[]).push(s),h}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function Ig(e,t,n,r){return se(()=>{const i=$a(t);function o(...s){if(this instanceof o)return i.apply(this,s),this;const u=new o(...s);return function h(E,b){const P=E.constructor,z=P.hasOwnProperty(Do)?P[Do]:Object.defineProperty(P,Do,{value:{}})[Do];z[b]=z.hasOwnProperty(b)&&z[b]||[],z[b].unshift(u),r&&r(E,b,...s)}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class un{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=it({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Og=new un("AnalyzeForEntryComponents");function yr(e,t){void 0===t&&(t=e);for(let n=0;nArray.isArray(n)?Kr(n,t):t(n))}function cc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Js(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function sr(e,t,n){let r=Eo(e,t);return r>=0?e[1|r]=n:(r=~r,function Pg(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function za(e,t){const n=Eo(e,t);if(n>=0)return e[1|n]}function Eo(e,t){return function hc(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const o=r+(i-r>>1),s=e[o<t?i=o:r=o+1}return~(i<({token:e})),-1),fs=ds(Co("Optional"),8),hs=ds(Co("SkipSelf"),4);let ea,ta;function wo(e){var t;return(null===(t=function Za(){if(void 0===ea&&(ea=null,Ke.trustedTypes))try{ea=Ke.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return ea}())||void 0===t?void 0:t.createHTML(e))||e}function Ec(e){var t;return(null===(t=function Qa(){if(void 0===ta&&(ta=null,Ke.trustedTypes))try{ta=Ke.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return ta}())||void 0===t?void 0:t.createHTML(e))||e}class Qi{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class rm extends Qi{getTypeName(){return"HTML"}}class im extends Qi{getTypeName(){return"Style"}}class om extends Qi{getTypeName(){return"Script"}}class sm extends Qi{getTypeName(){return"URL"}}class am extends Qi{getTypeName(){return"ResourceURL"}}function di(e){return e instanceof Qi?e.changingThisBreaksApplicationSecurity:e}function Mo(e,t){const n=Mc(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function Mc(e){return e instanceof Qi&&e.getTypeName()||null}function lm(e){return new rm(e)}function um(e){return new im(e)}function cm(e){return new om(e)}function dm(e){return new sm(e)}function fm(e){return new am(e)}class hm{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(wo(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch(n){return null}}}class pm{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=wo(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=wo(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let i=n.length-1;0gs(t.trim())).join(", ")),this.buf.push(" ",s,'="',Pc(h),'"')}var e;return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();qa.hasOwnProperty(n)&&!Sc.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(Pc(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const Dm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Cm=/([^\#-~ |!])/g;function Pc(e){return e.replace(/&/g,"&").replace(Dm,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Cm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let na;function Fc(e,t){let n=null;try{na=na||function Ac(e){const t=new pm(e);return function gm(){try{return!!(new window.DOMParser).parseFromString(wo(""),"text/html")}catch(e){return!1}}()?new hm(t):t}(e);let r=t?String(t):"";n=na.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=na.getInertBodyElement(r)}while(r!==o);return wo((new _m).sanitizeChildren(tl(n)||n))}finally{if(n){const r=tl(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function tl(e){return"content"in e&&function Em(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var cn=(()=>((cn=cn||{})[cn.NONE=0]="NONE",cn[cn.HTML=1]="HTML",cn[cn.STYLE=2]="STYLE",cn[cn.SCRIPT=3]="SCRIPT",cn[cn.URL=4]="URL",cn[cn.RESOURCE_URL=5]="RESOURCE_URL",cn))();function Rc(e){const t=vs();return t?Ec(t.sanitize(cn.HTML,e)||""):Mo(e,"HTML")?Ec(di(e)):Fc(_(),k(e))}function nl(e){const t=vs();return t?t.sanitize(cn.URL,e)||"":Mo(e,"URL")?di(e):gs(k(e))}function vs(){const e=Ve();return e&&e[12]}const kc="__ngContext__";function Vn(e,t){e[kc]=t}function il(e){const t=function ys(e){return e[kc]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function sl(e){return e.ngOriginalError}function Vm(e,...t){e.error(...t)}class ra{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=function km(e){return e&&e.ngErrorLogger||Vm}(t);r(this._console,"ERROR",t),n&&r(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&sl(t);for(;n&&sl(n);)n=sl(n);return n||null}}const Ym=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Ke))();function Hc(e){return e.ownerDocument.defaultView}function $c(e){return e.ownerDocument}function Jr(e){return e instanceof Function?e():e}var Zr=(()=>((Zr=Zr||{})[Zr.Important=1]="Important",Zr[Zr.DashCase=2]="DashCase",Zr))();function ll(e,t){return undefined(e,t)}function _s(e){const t=e[3];return An(t)?t[3]:t}function ul(e){return Yc(e[13])}function cl(e){return Yc(e[4])}function Yc(e){for(;null!==e&&!An(e);)e=e[4];return e}function Io(e,t,n,r,i){if(null!=r){let o,s=!1;An(r)?o=r:Tn(r)&&(s=!0,r=r[0]);const u=ze(r);0===e&&null!==n?null==i?ed(t,n,u):qi(t,n,u,i||null,!0):1===e&&null!==n?qi(t,n,u,i||null,!0):2===e?function ad(e,t,n){const r=ia(e,t);r&&function sv(e,t,n,r){B(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,u,s):3===e&&t.destroyNode(u),null!=o&&function uv(e,t,n,r,i){const o=n[7];o!==ze(n)&&Io(t,e,r,o,i);for(let u=10;u0&&(e[n-1][4]=r[4]);const o=Js(e,10+t);!function qm(e,t){Ds(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const s=o[19];null!==s&&s.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Qc(e,t){if(!(256&t[2])){const n=t[11];B(n)&&n.destroyNode&&Ds(e,t,n,3,null,null),function tv(e){let t=e[13];if(!t)return pl(e[1],e);for(;t;){let n=null;if(Tn(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Tn(t)&&pl(t[1],t),t=t[3];null===t&&(t=e),Tn(t)&&pl(t[1],t),n=t&&t[4]}t=n}}(t)}}function pl(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function ov(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[i=E]():r[i=-E].unsubscribe(),o+=2}else{const s=r[i=n[o+1]];n[o].call(s)}if(null!==r){for(let o=i+1;oo?"":i[P+1].toLowerCase();const he=8&r?z:null;if(he&&-1!==cd(he,E,0)||2&r&&E!==z){if(Tr(r))return!1;s=!0}}}}else{if(!s&&!Tr(r)&&!Tr(h))return!1;if(s&&Tr(h))continue;s=!1,r=h|1&r}}return Tr(r)||s}function Tr(e){return 0==(1&e)}function pv(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let o=!1;for(;i-1)for(n++;n0?'="'+u+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!Tr(s)&&(t+=pd(o,i),i=""),r=s,o=o||!Tr(r);n++}return""!==i&&(t+=pd(o,i)),t}const Dt={};function gd(e){md(Ct(),Ve(),_n()+e,$r())}function md(e,t,n,r){if(!r)if(3==(3&t[2])){const o=e.preOrderCheckHooks;null!==o&&ho(t,o,n)}else{const o=e.preOrderHooks;null!==o&&Ki(t,o,0,n)}Or(n)}function aa(e,t){return e<<17|t<<2}function Pr(e){return e>>17&32767}function _l(e){return 2|e}function fi(e){return(131068&e)>>2}function Dl(e,t){return-131069&e|t<<2}function Cl(e){return 1|e}function Id(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r20&&md(e,t,20,$r()),n(r,i)}finally{Or(o)}}function Tl(e,t,n){!Gi()||(function Gv(e,t,n,r){const i=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||c(n,t),Vn(r,t);const s=n.initialInputs;for(let u=i;u0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(u)!=h&&u.push(h),u.push(r,i,s)}}function kd(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Vd(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Yv(e,t,n){if(n){if(t.exportAs)for(let r=0;r0&&Nl(n)}}function Nl(e){for(let r=ul(e);null!==r;r=cl(r))for(let i=10;i0&&Nl(o)}const n=e[1].components;if(null!==n)for(let r=0;r0&&Nl(i)}}function ty(e,t){const n=en(t,e),r=n[1];(function ny(e,t){for(let n=t.length;nPromise.resolve(null))();function $d(e){return e[7]||(e[7]=[])}function Gd(e){return e.cleanup||(e.cleanup=[])}function Wd(e,t){const n=e[9],r=n?n.get(ra,null):null;r&&r.handleError(t)}function Kd(e,t,n,r,i){for(let o=0;othis.processProvider(u,t,n)),Kr([t],u=>this.processInjectorType(u,[],o)),this.records.set(Ul,To(void 0,this));const s=this.records.get(jl);this.scope=null!=s?s.value:null,this.source=i||("object"==typeof t?null:R(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,n=us,r=ot.Default){this.assertNotDestroyed();const i=mc(this),o=J(void 0);try{if(!(r&ot.SkipSelf)){let u=this.records.get(t);if(void 0===u){const h=function yy(e){return"function"==typeof e||"object"==typeof e&&e instanceof un}(t)&&tt(t);u=h&&this.injectableDefInScope(h)?To($l(t),bs):null,this.records.set(t,u)}if(null!=u)return this.hydrate(t,u)}return(r&ot.Self?Jd():this.parent).get(t,n=r&ot.Optional&&n===us?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[Qs]=s[Qs]||[]).unshift(R(t)),i)throw s;return function zg(e,t,n,r){const i=e[Qs];throw t[gc]&&i.unshift(t[gc]),e.message=function Wg(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let i=R(t);if(Array.isArray(t))i=t.map(R).join(" -> ");else if("object"==typeof t){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let u=t[s];o.push(s+":"+("string"==typeof u?JSON.stringify(u):R(u)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(Bg,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[Qs]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{J(o),mc(i)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((r,i)=>t.push(R(i))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new fe(205,!1)}processInjectorType(t,n,r){if(!(t=T(t)))return!1;let i=Kt(t);const o=null==i&&t.ngModule||void 0,s=void 0===o?t:o,u=-1!==r.indexOf(s);if(void 0!==o&&(i=Kt(o)),null==i)return!1;if(null!=i.imports&&!u){let b;r.push(s);try{Kr(i.imports,P=>{this.processInjectorType(P,n,r)&&(void 0===b&&(b=[]),b.push(P))})}finally{}if(void 0!==b)for(let P=0;Pthis.processProvider(xe,z,he||dt))}}this.injectorDefTypes.add(s);const h=$n(s)||(()=>new s);this.records.set(s,To(h,bs));const E=i.providers;if(null!=E&&!u){const b=t;Kr(E,P=>this.processProvider(P,b,E))}return void 0!==o&&void 0!==t.providers}processProvider(t,n,r){let i=Po(t=T(t))?t:T(t&&t.provide);const o=function fy(e,t,n){return Xd(e)?To(void 0,e.useValue):To(qd(e),bs)}(t);if(Po(t)||!0!==t.multi)this.records.get(i);else{let s=this.records.get(i);s||(s=To(void 0,bs,!0),s.factory=()=>Ya(s.multi),this.records.set(i,s)),i=t,s.multi.push(t)}this.records.set(i,o)}hydrate(t,n){return n.value===bs&&(n.value=uy,n.value=n.factory()),"object"==typeof n.value&&n.value&&function vy(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this.onDestroy.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=T(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function $l(e){const t=tt(e),n=null!==t?t.factory:$n(e);if(null!==n)return n;if(e instanceof un)throw new fe(204,!1);if(e instanceof Function)return function dy(e){const t=e.length;if(t>0)throw function ls(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new fe(204,!1)}function qd(e,t,n){let r;if(Po(e)){const i=T(e);return $n(i)||$l(i)}if(Xd(e))r=()=>T(e.useValue);else if(function py(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Ya(e.deps||[]));else if(function hy(e){return!(!e||!e.useExisting)}(e))r=()=>In(T(e.useExisting));else{const i=T(e&&(e.useClass||e.provide));if(!function my(e){return!!e.deps}(e))return $n(i)||$l(i);r=()=>new i(...Ya(e.deps))}return r}function To(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Xd(e){return null!==e&&"object"==typeof e&&jg in e}function Po(e){return"function"==typeof e}let Fr=(()=>{class e{static create(n,r){var i;if(Array.isArray(n))return Zd({name:""},r,n,"");{const o=null!==(i=n.name)&&void 0!==i?i:"";return Zd({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=us,e.NULL=new Yd,e.\u0275prov=it({token:e,providedIn:"any",factory:()=>In(Ul)}),e.__NG_ELEMENT_ID__=-1,e})();function Ay(e,t){Dn(il(e)[1],tn())}function Wl(e){let t=function ff(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(rn(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new fe(903,"");i=t.\u0275dir}if(i){if(n){r.push(i);const s=e;s.inputs=Kl(e.inputs),s.declaredInputs=Kl(e.declaredInputs),s.outputs=Kl(e.outputs);const u=i.hostBindings;u&&xy(e,u);const h=i.viewQuery,E=i.contentQueries;if(h&&Sy(e,h),E&&Oy(e,E),O(e.inputs,i.inputs),O(e.declaredInputs,i.declaredInputs),O(e.outputs,i.outputs),rn(i)&&i.data.animation){const b=e.data;b.animation=(b.animation||[]).concat(i.data.animation)}}const o=i.features;if(o)for(let s=0;s=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=mo(i.hostAttrs,n=mo(n,i.hostAttrs))}}(r)}function Kl(e){return e===St?{}:e===dt?[]:e}function Sy(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function Oy(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,o)=>{t(r,i,o),n(r,i,o)}:t}function xy(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}let ha=null;function Fo(){if(!ha){const e=Ke.Symbol;if(e&&e.iterator)ha=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;nu(ze(At[r.index])):r.index;if(B(n)){let At=null;if(!u&&h&&(At=function l0(e,t,n,r){const i=e.cleanup;if(null!=i)for(let o=0;oh?u[h]:null}"string"==typeof s&&(o+=2)}return null}(e,t,i,r.index)),null!==At)(At.__ngLastListenerFn__||At).__ngNextListenerFn__=o,At.__ngLastListenerFn__=o,he=!1;else{o=au(r,t,P,o,!1);const Bt=n.listen(Xe,i,o);z.push(o,Bt),b&&b.push(i,ct,Le,Le+1)}}else o=au(r,t,P,o,!0),Xe.addEventListener(i,o,s),z.push(o),b&&b.push(i,ct,Le,s)}else o=au(r,t,P,o,!1);const xe=r.outputs;let $e;if(he&&null!==xe&&($e=xe[i])){const Je=$e.length;if(Je)for(let Xe=0;Xe0;)t=t[15],e--;return t}(e,gt.lFrame.contextLView))[8]}(e)}function Qf(e,t,n,r,i){const o=e[n+1],s=null===t;let u=r?Pr(o):fi(o),h=!1;for(;0!==u&&(!1===h||s);){const b=e[u+1];p0(e[u],t)&&(h=!0,e[u+1]=r?Cl(b):_l(b)),u=r?Pr(b):fi(b)}h&&(e[n+1]=r?_l(o):Cl(o))}function p0(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Eo(e,t)>=0}function uu(e,t){return function Nr(e,t,n,r){const i=Ve(),o=Ct(),s=ir(2);o.firstUpdatePass&&function sh(e,t,n,r){const i=e.data;if(null===i[n+1]){const o=i[_n()],s=function oh(e,t){return t>=e.expandoStartIndex}(e,n);(function ch(e,t){return 0!=(e.flags&(t?16:32))})(o,r)&&null===t&&!s&&(t=!1),t=function b0(e,t,n,r){const i=function g(e){const t=gt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=Is(n=cu(null,e,t,n,r),t.attrs,r),o=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==i)if(n=cu(i,e,t,n,r),null===o){let h=function w0(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==fi(r))return e[Pr(r)]}(e,t,r);void 0!==h&&Array.isArray(h)&&(h=cu(null,e,t,h[1],r),h=Is(h,t.attrs,r),function M0(e,t,n,r){e[Pr(n?t.classBindings:t.styleBindings)]=r}(e,t,r,h))}else o=function A0(e,t,n){let r;const i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0)&&(E=!0)}else b=n;if(i)if(0!==h){const z=Pr(e[u+1]);e[r+1]=aa(z,u),0!==z&&(e[z+1]=Dl(e[z+1],r)),e[u+1]=function Ev(e,t){return 131071&e|t<<17}(e[u+1],r)}else e[r+1]=aa(u,0),0!==u&&(e[u+1]=Dl(e[u+1],r)),u=r;else e[r+1]=aa(h,0),0===u?u=r:e[h+1]=Dl(e[h+1],r),h=r;E&&(e[r+1]=_l(e[r+1])),Qf(e,b,r,!0),Qf(e,b,r,!1),function h0(e,t,n,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&Eo(o,t)>=0&&(n[r+1]=Cl(n[r+1]))}(t,b,e,r,o),s=aa(u,h),o?t.classBindings=s:t.styleBindings=s}(i,o,t,n,s,r)}}(o,e,s,r),t!==Dt&&Bn(i,s,t)&&function lh(e,t,n,r,i,o,s,u){if(!(3&t.type))return;const h=e.data,E=h[u+1];ya(function _d(e){return 1==(1&e)}(E)?uh(h,t,n,i,fi(E),s):void 0)||(ya(o)||function yd(e){return 2==(2&e)}(E)&&(o=uh(h,null,n,i,u,s)),function cv(e,t,n,r,i){const o=B(e);if(t)i?o?e.addClass(n,r):n.classList.add(r):o?e.removeClass(n,r):n.classList.remove(r);else{let s=-1===r.indexOf("-")?void 0:Zr.DashCase;if(null==i)o?e.removeStyle(n,r,s):n.style.removeProperty(r);else{const u="string"==typeof i&&i.endsWith("!important");u&&(i=i.slice(0,-10),s|=Zr.Important),o?e.setStyle(n,r,i,s):n.style.setProperty(r,i,u?"important":"")}}}(r,s,Tt(_n(),n),i,o))}(o,o.data[_n()],i,i[11],e,i[s+1]=function O0(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=R(di(e)))),e}(t,n),r,s)}(e,t,null,!0),uu}function cu(e,t,n,r,i){let o=null;const s=n.directiveEnd;let u=n.directiveStylingLast;for(-1===u?u=n.directiveStart:u++;u0;){const h=e[i],E=Array.isArray(h),b=E?h[1]:h,P=null===b;let z=n[i+1];z===Dt&&(z=P?dt:void 0);let he=P?za(z,r):b===r?z:void 0;if(E&&!ya(he)&&(he=za(h,r)),ya(he)&&(u=he,s))return u;const xe=e[i+1];i=s?Pr(xe):fi(xe)}if(null!==t){let h=o?t.residualClasses:t.residualStyles;null!=h&&(u=za(h,r))}return u}function ya(e){return void 0!==e}function dh(e,t=""){const n=Ve(),r=Ct(),i=e+20,o=r.firstCreatePass?So(r,i,1,t,null):r.data[i],s=n[i]=function dl(e,t){return B(e)?e.createText(t):e.createTextNode(t)}(n[11],t);oa(r,n,s,o),kn(o,!1)}function du(e){return _a("",e,""),du}function _a(e,t,n){const r=Ve(),i=function No(e,t,n,r){return Bn(e,Gr(),n)?t+k(n)+r:Dt}(r,e,t,n);return i!==Dt&&hi(r,_n(),i),_a}function fu(e,t,n,r,i){const o=Ve(),s=Lo(o,e,t,n,r,i);return s!==Dt&&hi(o,_n(),s),fu}const eo=void 0;var J0=["en",[["a","p"],["AM","PM"],eo],[["AM","PM"],eo,eo],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],eo,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],eo,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",eo,"{1} 'at' {0}",eo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function Y0(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let zo={};function hu(e){const t=function Z0(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Th(t);if(n)return n;const r=t.split("-")[0];if(n=Th(r),n)return n;if("en"===r)return J0;throw new Error(`Missing locale data for the locale "${e}".`)}function xh(e){return hu(e)[ht.PluralCase]}function Th(e){return e in zo||(zo[e]=Ke.ng&&Ke.ng.common&&Ke.ng.common.locales&&Ke.ng.common.locales[e]),zo[e]}var ht=(()=>((ht=ht||{})[ht.LocaleId=0]="LocaleId",ht[ht.DayPeriodsFormat=1]="DayPeriodsFormat",ht[ht.DayPeriodsStandalone=2]="DayPeriodsStandalone",ht[ht.DaysFormat=3]="DaysFormat",ht[ht.DaysStandalone=4]="DaysStandalone",ht[ht.MonthsFormat=5]="MonthsFormat",ht[ht.MonthsStandalone=6]="MonthsStandalone",ht[ht.Eras=7]="Eras",ht[ht.FirstDayOfWeek=8]="FirstDayOfWeek",ht[ht.WeekendRange=9]="WeekendRange",ht[ht.DateFormat=10]="DateFormat",ht[ht.TimeFormat=11]="TimeFormat",ht[ht.DateTimeFormat=12]="DateTimeFormat",ht[ht.NumberSymbols=13]="NumberSymbols",ht[ht.NumberFormats=14]="NumberFormats",ht[ht.CurrencyCode=15]="CurrencyCode",ht[ht.CurrencySymbol=16]="CurrencySymbol",ht[ht.CurrencyName=17]="CurrencyName",ht[ht.Currencies=18]="Currencies",ht[ht.Directionality=19]="Directionality",ht[ht.PluralCase=20]="PluralCase",ht[ht.ExtraData=21]="ExtraData",ht))();const Da="en-US";let Ph=Da;function mu(e,t,n,r,i){if(e=T(e),Array.isArray(e))for(let o=0;o>20;if(Po(e)||!e.multi){const he=new Zi(h,i,As),xe=yu(u,t,i?b:b+z,P);-1===xe?(C(c(E,s),o,u),vu(o,e,t.length),t.push(u),E.directiveStart++,E.directiveEnd++,i&&(E.providerIndexes+=1048576),n.push(he),s.push(he)):(n[xe]=he,s[xe]=he)}else{const he=yu(u,t,b+z,P),xe=yu(u,t,b,b+z),$e=he>=0&&n[he],Je=xe>=0&&n[xe];if(i&&!Je||!i&&!$e){C(c(E,s),o,u);const Xe=function Y_(e,t,n,r,i){const o=new Zi(e,n,As);return o.multi=[],o.index=t,o.componentProviders=0,np(o,i,r&&!n),o}(i?K_:W_,n.length,i,r,h);!i&&Je&&(n[xe].providerFactory=Xe),vu(o,e,t.length,0),t.push(u),E.directiveStart++,E.directiveEnd++,i&&(E.providerIndexes+=1048576),n.push(Xe),s.push(Xe)}else vu(o,e,he>-1?he:xe,np(n[i?xe:he],h,!i&&r));!i&&r&&Je&&n[xe].componentProviders++}}}function vu(e,t,n,r){const i=Po(t),o=function gy(e){return!!e.useClass}(t);if(i||o){const h=(o?T(t.useClass):t).prototype.ngOnDestroy;if(h){const E=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const b=E.indexOf(n);-1===b?E.push(n,[r,h]):E[b+1].push(r,h)}else E.push(n,h)}}}function np(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function yu(e,t,n,r){for(let i=n;i{n.providersResolver=(r,i)=>function z_(e,t,n){const r=Ct();if(r.firstCreatePass){const i=rn(e);mu(n,r.data,r.blueprint,i,!0),mu(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}class ip{}class Q_{resolveComponentFactory(t){throw function Z_(e){const t=Error(`No component factory found for ${R(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Ma=(()=>{class e{}return e.NULL=new Q_,e})();function q_(){return Ko(tn(),Ve())}function Ko(e,t){return new Ps(ft(e,t))}let Ps=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=q_,e})();function X_(e){return e instanceof Ps?e.nativeElement:e}class sp{}let eD=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function nD(){const e=Ve(),n=en(tn().index,e);return function tD(e){return e[11]}(Tn(n)?n:e)}(),e})(),rD=(()=>{class e{}return e.\u0275prov=it({token:e,providedIn:"root",factory:()=>null}),e})();class ap{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const iD=new ap("13.2.7"),Du={};function Aa(e,t,n,r,i=!1){for(;null!==n;){const o=t[n.index];if(null!==o&&r.push(ze(o)),An(o))for(let u=10;u-1&&(hl(t,r),Js(n,r))}this._attachedToViewContainer=!1}Qc(this._lView[1],this._lView)}onDestroy(t){Fd(this._lView[1],this._lView,null,t)}markForCheck(){Ll(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Vl(this._lView[1],this._lView,this.context)}checkNoChanges(){!function iy(e,t,n){Ar(!0);try{Vl(e,t,n)}finally{Ar(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new fe(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function ev(e,t){Ds(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new fe(902,"");this._appRef=t}}class oD extends Fs{constructor(t){super(t),this._view=t}detectChanges(){Hd(this._view)}checkNoChanges(){!function oy(e){Ar(!0);try{Hd(e)}finally{Ar(!1)}}(this._view)}get context(){return null}}class lp extends Ma{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Mt(t);return new Cu(n,this.ngModule)}}function up(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Cu extends ip{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Dv(e){return e.map(_v).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return up(this.componentDef.inputs)}get outputs(){return up(this.componentDef.outputs)}create(t,n,r,i){const o=(i=i||this.ngModule)?function aD(e,t){return{get:(n,r,i)=>{const o=e.get(n,Du,i);return o!==Du||r===Du?o:t.get(n,r,i)}}}(t,i.injector):t,s=o.get(sp,Ie),u=o.get(rD,null),h=s.createRenderer(null,this.componentDef),E=this.componentDef.selectors[0][0]||"div",b=r?function Pd(e,t,n){if(B(e))return e.selectRootElement(t,n===le.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(h,r,this.componentDef.encapsulation):fl(s.createRenderer(null,this.componentDef),E,function sD(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(E)),P=this.componentDef.onPush?576:528,z=function df(e,t){return{components:[],scheduler:e||Ym,clean:sy,playerHandler:t||null,flags:0}}(),he=ca(0,null,null,1,0,null,null,null,null,null),xe=Cs(null,he,z,P,null,null,s,h,u,o);let $e,Je;Nt(xe);try{const Xe=function uf(e,t,n,r,i,o){const s=n[1];n[20]=e;const h=So(s,20,2,"#host",null),E=h.mergedAttrs=t.hostAttrs;null!==E&&(fa(h,E,!0),null!==e&&(go(i,e,E),null!==h.classes&&yl(i,e,h.classes),null!==h.styles&&ud(i,e,h.styles)));const b=r.createRenderer(e,t),P=Cs(n,xd(t),null,t.onPush?64:16,n[20],h,r,b,o||null,null);return s.firstCreatePass&&(C(c(h,n),s,t.type),Vd(s,h),Bd(h,n.length,1)),da(n,P),n[20]=P}(b,this.componentDef,xe,s,h);if(b)if(r)go(h,b,["ng-version",iD.full]);else{const{attrs:Le,classes:ct}=function Cv(e){const t=[],n=[];let r=1,i=2;for(;r0&&yl(h,b,ct.join(" "))}if(Je=Vt(he,20),void 0!==n){const Le=Je.projection=[];for(let ct=0;cth(s,t)),t.contentQueries){const h=tn();t.contentQueries(1,s,h.directiveStart)}const u=tn();return!o.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Or(u.index),Ld(n[1],u,0,u.directiveStart,u.directiveEnd,t),kd(t,s)),s}(Xe,this.componentDef,xe,z,[Ay]),Es(he,xe,null)}finally{zr()}return new uD(this.componentType,$e,Ko(Je,xe),xe,Je)}}class uD extends class J_{}{constructor(t,n,r,i,o){super(),this.location=r,this._rootLView=i,this._tNode=o,this.instance=n,this.hostView=this.changeDetectorRef=new oD(i),this.componentType=t}get injector(){return new ci(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class Yo{}class cp{}const Jo=new Map;class hp extends Yo{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new lp(this);const r=Yt(t);this._bootstrapComponents=Jr(r.bootstrap),this._r3Injector=Qd(t,n,[{provide:Yo,useValue:this},{provide:Ma,useValue:this.componentFactoryResolver}],R(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=Fr.THROW_IF_NOT_FOUND,r=ot.Default){return t===Fr||t===Yo||t===Ul?this:this._r3Injector.get(t,n,r)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Eu extends cp{constructor(t){super(),this.moduleType=t,null!==Yt(t)&&function dD(e){const t=new Set;!function n(r){const i=Yt(r,!0),o=i.id;null!==o&&(function dp(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${R(t)} vs ${R(t.name)}`)}(o,Jo.get(o),r),Jo.set(o,r));const s=Jr(i.imports);for(const u of s)t.has(u)||(t.add(u),n(u))}(e)}(t)}create(t){return new hp(this.moduleType,t)}}function pp(e,t,n){const r=ln()+e,i=Ve();return i[r]===Dt?qr(i,r,n?t.call(n):t()):function Ms(e,t){return e[t]}(i,r)}function gp(e,t,n,r){return vp(Ve(),ln(),e,t,n,r)}function mp(e,t,n,r,i){return yp(Ve(),ln(),e,t,n,r,i)}function Rs(e,t){const n=e[t];return n===Dt?void 0:n}function vp(e,t,n,r,i,o){const s=t+n;return Bn(e,s,i)?qr(e,s+1,o?r.call(o,i):r(i)):Rs(e,s+1)}function yp(e,t,n,r,i,o,s){const u=t+n;return Xi(e,u,i,o)?qr(e,u+2,s?r.call(s,i,o):r(i,o)):Rs(e,u+2)}function Ep(e,t){const n=Ct();let r;const i=e+20;n.firstCreatePass?(r=function _D(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const o=r.factory||(r.factory=$n(r.type)),s=J(As);try{const u=xi(!1),h=o();return xi(u),function Vy(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,Ve(),i,h),h}finally{J(s)}}function bp(e,t,n){const r=e+20,i=Ve(),o=$t(i,r);return Ns(i,r)?vp(i,ln(),t,o.transform,n,o):o.transform(n)}function wp(e,t,n,r){const i=e+20,o=Ve(),s=$t(o,i);return Ns(o,i)?yp(o,ln(),t,s.transform,n,r,s):s.transform(n,r)}function Ns(e,t){return e[1].data[t].pure}function bu(e){return t=>{setTimeout(e,void 0,t)}}const ti=class bD extends U.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){var i,o,s;let u=t,h=n||(()=>null),E=r;if(t&&"object"==typeof t){const P=t;u=null===(i=P.next)||void 0===i?void 0:i.bind(P),h=null===(o=P.error)||void 0===o?void 0:o.bind(P),E=null===(s=P.complete)||void 0===s?void 0:s.bind(P)}this.__isAsync&&(h=bu(h),u&&(u=bu(u)),E&&(E=bu(E)));const b=super.subscribe({next:u,error:h,complete:E});return t instanceof ne.w0&&t.add(b),b}};function wD(){return this._results[Fo()]()}class wu{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Fo(),r=wu.prototype;r[n]||(r[n]=wD)}get changes(){return this._changes||(this._changes=new ti)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const i=yr(t);(this._changesDetected=!function xg(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r{class e{}return e.__NG_ELEMENT_ID__=ID,e})();const MD=Ls,AD=class extends MD{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t){const n=this._declarationTContainer.tViews,r=Cs(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const o=this._declarationLView[19];return null!==o&&(r[19]=o.createEmbeddedView(n)),Es(n,r,t),new Fs(r)}};function ID(){return Ia(tn(),Ve())}function Ia(e,t){return 4&e.type?new AD(t,e,Ko(e,t)):null}let Sa=(()=>{class e{}return e.__NG_ELEMENT_ID__=SD,e})();function SD(){return Ip(tn(),Ve())}const OD=Sa,Mp=class extends OD{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Ko(this._hostTNode,this._hostLView)}get injector(){return new ci(this._hostTNode,this._hostLView)}get parentInjector(){const t=m(this._hostTNode,this._hostLView);if(Ks(t)){const n=Oi(t,this._hostLView),r=ui(t);return new ci(n[1].data[r+8],n)}return new ci(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Ap(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){const i=t.createEmbeddedView(n||{});return this.insert(i,r),i}createComponent(t,n,r,i,o){const s=t&&!function as(e){return"function"==typeof e}(t);let u;if(s)u=n;else{const P=n||{};u=P.index,r=P.injector,i=P.projectableNodes,o=P.ngModuleRef}const h=s?t:new Cu(Mt(t)),E=r||this.parentInjector;if(!o&&null==h.ngModule){const z=(s?E:this.parentInjector).get(Yo,null);z&&(o=z)}const b=h.create(E,i,void 0,o);return this.insert(b.hostView,u),b}insert(t,n){const r=t._lView,i=r[1];if(function mr(e){return An(e[3])}(r)){const b=this.indexOf(t);if(-1!==b)this.detach(b);else{const P=r[3],z=new Mp(P,P[6],P[3]);z.detach(z.indexOf(t))}}const o=this._adjustIndex(n),s=this._lContainer;!function nv(e,t,n,r){const i=10+r,o=n.length;r>0&&(n[i-1][4]=t),r0)r.push(s[u/2]);else{const E=o[u+1],b=t[-h];for(let P=10;P({bindingPropertyName:e}));function Ta(...e){}const Xp=new un("Application Initializer");let Lu=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Ta,this.reject=Ta,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i{o.subscribe({complete:u,error:h})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(In(Xp,8))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const eg=new un("AppId",{providedIn:"root",factory:function tg(){return`${ku()}${ku()}${ku()}`}});function ku(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const ng=new un("Platform Initializer"),rg=new un("Platform ID"),ig=new un("appBootstrapListener");let og=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=it({token:e,factory:e.\u0275fac}),e})();const Vu=new un("LocaleId",{providedIn:"root",factory:()=>$g(Vu,ot.Optional|ot.SkipSelf)||function nC(){return"undefined"!=typeof $localize&&$localize.locale||Da}()}),rC=new un("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class iC{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let oC=(()=>{class e{compileModuleSync(n){return new Eu(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),o=Jr(Yt(n).declarations).reduce((s,u)=>{const h=Mt(u);return h&&s.push(new Cu(h)),s},[]);return new iC(r,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const aC=(()=>Promise.resolve(0))();function Bu(e){"undefined"==typeof Zone?aC.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class kr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ti(!1),this.onMicrotaskEmpty=new ti(!1),this.onStable=new ti(!1),this.onError=new ti(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function lC(){let e=Ke.requestAnimationFrame,t=Ke.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function dC(e){const t=()=>{!function cC(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Ke,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,ju(e),e.isCheckStableRunning=!0,Uu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),ju(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,o,s,u)=>{try{return sg(e),n.invokeTask(i,o,s,u)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),ag(e)}},onInvoke:(n,r,i,o,s,u,h)=>{try{return sg(e),n.invoke(i,o,s,u,h)}finally{e.shouldCoalesceRunChangeDetection&&t(),ag(e)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,ju(e),Uu(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,r,i,o)=>(n.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!kr.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(kr.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,t,uC,Ta,Ta);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const uC={};function Uu(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function ju(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function sg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ag(e){e._nesting--,Uu(e)}class fC{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ti,this.onMicrotaskEmpty=new ti,this.onStable=new ti,this.onError=new ti}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}let lg=(()=>{class e{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{kr.assertNotInAngularZone(),Bu(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Bu(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,i){return[]}}return e.\u0275fac=function(n){return new(n||e)(In(kr))},e.\u0275prov=it({token:e,factory:e.\u0275fac}),e})(),ug=(()=>{class e{constructor(){this._applications=new Map,Hu.addToWindow(this)}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Hu.findTestabilityInTree(this,n,r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=it({token:e,factory:e.\u0275fac}),e})();class hC{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}function pC(e){Hu=e}let Vr,Hu=new hC;const cg=new un("AllowMultipleToken");class vC{constructor(t,n){this.name=t,this.token=n}}function dg(e,t,n=[]){const r=`Platform: ${t}`,i=new un(r);return(o=[])=>{let s=fg();if(!s||s.injector.get(cg,!1))if(e)e(n.concat(o).concat({provide:i,useValue:!0}));else{const u=n.concat(o).concat({provide:i,useValue:!0},{provide:jl,useValue:"platform"});!function yC(e){if(Vr&&!Vr.destroyed&&!Vr.injector.get(cg,!1))throw new fe(400,"");Vr=e.get(hg);const t=e.get(ng,null);t&&t.forEach(n=>n())}(Fr.create({providers:u,name:r}))}return function _C(e){const t=fg();if(!t)throw new fe(401,"");return t}()}}function fg(){return Vr&&!Vr.destroyed?Vr:null}let hg=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const u=function DC(e,t){let n;return n="noop"===e?new fC:("zone.js"===e?void 0:e)||new kr({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),h=[{provide:kr,useValue:u}];return u.run(()=>{const E=Fr.create({providers:h,parent:this.injector,name:n.moduleType.name}),b=n.create(E),P=b.injector.get(ra,null);if(!P)throw new fe(402,"");return u.runOutsideAngular(()=>{const z=u.onError.subscribe({next:he=>{P.handleError(he)}});b.onDestroy(()=>{Gu(this._modules,b),z.unsubscribe()})}),function CC(e,t,n){try{const r=n();return ou(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(P,u,()=>{const z=b.injector.get(Lu);return z.runInitializers(),z.donePromise.then(()=>(function e_(e){Oe(e,"Expected localeId to be defined"),"string"==typeof e&&(Ph=e.toLowerCase().replace(/_/g,"-"))}(b.injector.get(Vu,Da)||Da),this._moduleDoBootstrap(b),b))})})}bootstrapModule(n,r=[]){const i=pg({},r);return function gC(e,t,n){const r=new Eu(n);return Promise.resolve(r)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(n){const r=n.injector.get($u);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new fe(403,"");n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new fe(404,"");this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(In(Fr))},e.\u0275prov=it({token:e,factory:e.\u0275fac}),e})();function pg(e,t){return Array.isArray(t)?t.reduce(pg,e):Object.assign(Object.assign({},e),t)}let $u=(()=>{class e{constructor(n,r,i,o,s){this._zone=n,this._injector=r,this._exceptionHandler=i,this._componentFactoryResolver=o,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const u=new q.y(E=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{E.next(this._stable),E.complete()})}),h=new q.y(E=>{let b;this._zone.runOutsideAngular(()=>{b=this._zone.onStable.subscribe(()=>{kr.assertNotInAngularZone(),Bu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,E.next(!0))})})});const P=this._zone.onUnstable.subscribe(()=>{kr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{E.next(!1)}))});return()=>{b.unsubscribe(),P.unsubscribe()}});this.isStable=function Z(...e){const t=(0,L.yG)(e),n=(0,L._6)(e,1/0),r=e;return r.length?1===r.length?(0,d.Xf)(r[0]):(0,p.J)(n)((0,K.D)(r,t)):G.E}(u,h.pipe((0,F.B)()))}bootstrap(n,r){if(!this._initStatus.done)throw new fe(405,"");let i;i=n instanceof ip?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(i.componentType);const o=function mC(e){return e.isBoundToModule}(i)?void 0:this._injector.get(Yo),u=i.create(Fr.NULL,[],r||i.selector,o),h=u.location.nativeElement,E=u.injector.get(lg,null),b=E&&u.injector.get(ug);return E&&b&&b.registerApplication(h,E),u.onDestroy(()=>{this.detachView(u.hostView),Gu(this.components,u),b&&b.unregisterApplication(h)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new fe(101,"");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Gu(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(ig,[]).concat(this._bootstrapListeners).forEach(i=>i(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(In(kr),In(Fr),In(ra),In(Ma),In(Lu))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Gu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let mg=!0;function bC(){mg=!1}let wC=(()=>{class e{}return e.__NG_ELEMENT_ID__=MC,e})();function MC(e){return function AC(e,t,n){if(Cr(e)&&!n){const r=en(e.index,t);return new Fs(r,r)}return 47&e.type?new Fs(t[16],t):null}(tn(),Ve(),16==(16&e))}class Cg{constructor(){}supports(t){return ws(t)}create(t){return new PC(t)}}const TC=(e,t)=>t;class PC{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||TC}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,o=null;for(;n||r;){const s=!r||n&&n.currentIndex{s=this._trackByFn(i,u),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,u,s,i)),Object.is(n.item,u)||this._addIdentityChange(n,u)):(n=this._mismatch(n,u,s,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,o,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,i)):t=this._addAfter(new FC(n,r),o,i),t}_verifyReinsertion(t,n,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?t=this._reinsertAfter(o,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,o=t._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Eg),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Eg),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class FC{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class RC{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class Eg{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new RC,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function bg(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const o=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const o=i._prev,s=i._next;return o&&(o._next=s),s&&(s._prev=o),i._next=null,i._prev=null,i}const r=new LC(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class LC{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Mg(){return new Ju([new Cg])}let Ju=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Mg()),deps:[[e,new hs,new fs]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new fe(901,"")}}return e.\u0275prov=it({token:e,providedIn:"root",factory:Mg}),e})();function Ag(){return new Zu([new wg])}let Zu=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Ag()),deps:[[e,new hs,new fs]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new fe(901,"")}}return e.\u0275prov=it({token:e,providedIn:"root",factory:Ag}),e})();const BC=dg(null,"core",[{provide:rg,useValue:"unknown"},{provide:hg,deps:[Fr]},{provide:ug,deps:[]},{provide:og,deps:[]}]);let UC=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(In($u))},e.\u0275mod=H({type:e}),e.\u0275inj=Ut({}),e})()},2313:(je,ce,D)=>{"use strict";D.d(ce,{b2:()=>wt,Cu:()=>lt,H7:()=>bn,h_:()=>Kt,Dx:()=>Ft,ki:()=>ke,Cb:()=>We,q6:()=>tt});var p=D(9808),d=D(7587);class G extends p.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class L extends G{static makeCurrent(){(0,p.HT)(new L)}onAndCancel(te,S,H){return te.addEventListener(S,H,!1),()=>{te.removeEventListener(S,H,!1)}}dispatchEvent(te,S){te.dispatchEvent(S)}remove(te){te.parentNode&&te.parentNode.removeChild(te)}createElement(te,S){return(S=S||this.getDefaultDocument()).createElement(te)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(te){return te.nodeType===Node.ELEMENT_NODE}isShadowRoot(te){return te instanceof DocumentFragment}getGlobalEventTarget(te,S){return"window"===S?window:"document"===S?te:"body"===S?te.body:null}getBaseHref(te){const S=function Z(){return K=K||document.querySelector("base"),K?K.getAttribute("href"):null}();return null==S?null:function ne(ue){U=U||document.createElement("a"),U.setAttribute("href",ue);const te=U.pathname;return"/"===te.charAt(0)?te:`/${te}`}(S)}resetBaseElement(){K=null}getUserAgent(){return window.navigator.userAgent}getCookie(te){return(0,p.Mx)(document.cookie,te)}}let U,K=null;const q=new d.OlP("TRANSITION_ID"),j=[{provide:d.ip1,useFactory:function F(ue,te,S){return()=>{S.get(d.CZH).donePromise.then(()=>{const H=(0,p.q)(),Te=te.querySelectorAll(`style[ng-transition="${ue}"]`);for(let at=0;at{const at=te.findTestabilityInTree(H,Te);if(null==at)throw new Error("Could not find testability for element.");return at},d.dqk.getAllAngularTestabilities=()=>te.getAllTestabilities(),d.dqk.getAllAngularRootElements=()=>te.getAllRootElements(),d.dqk.frameworkStabilizers||(d.dqk.frameworkStabilizers=[]),d.dqk.frameworkStabilizers.push(H=>{const Te=d.dqk.getAllAngularTestabilities();let at=Te.length,mt=!1;const zt=function(Mt){mt=mt||Mt,at--,0==at&&H(mt)};Te.forEach(function(Mt){Mt.whenStable(zt)})})}findTestabilityInTree(te,S,H){if(null==S)return null;const Te=te.getTestability(S);return null!=Te?Te:H?(0,p.q)().isShadowRoot(S)?this.findTestabilityInTree(te,S.host,!0):this.findTestabilityInTree(te,S.parentElement,!0):null}}let R=(()=>{class ue{build(){return new XMLHttpRequest}}return ue.\u0275fac=function(S){return new(S||ue)},ue.\u0275prov=d.Yz7({token:ue,factory:ue.\u0275fac}),ue})();const x=new d.OlP("EventManagerPlugins");let V=(()=>{class ue{constructor(S,H){this._zone=H,this._eventNameToPlugin=new Map,S.forEach(Te=>Te.manager=this),this._plugins=S.slice().reverse()}addEventListener(S,H,Te){return this._findPluginFor(H).addEventListener(S,H,Te)}addGlobalEventListener(S,H,Te){return this._findPluginFor(H).addGlobalEventListener(S,H,Te)}getZone(){return this._zone}_findPluginFor(S){const H=this._eventNameToPlugin.get(S);if(H)return H;const Te=this._plugins;for(let at=0;at{class ue{constructor(){this._stylesSet=new Set}addStyles(S){const H=new Set;S.forEach(Te=>{this._stylesSet.has(Te)||(this._stylesSet.add(Te),H.add(Te))}),this.onStylesAdded(H)}onStylesAdded(S){}getAllStyles(){return Array.from(this._stylesSet)}}return ue.\u0275fac=function(S){return new(S||ue)},ue.\u0275prov=d.Yz7({token:ue,factory:ue.\u0275fac}),ue})(),ie=(()=>{class ue extends T{constructor(S){super(),this._doc=S,this._hostNodes=new Map,this._hostNodes.set(S.head,[])}_addStylesToHost(S,H,Te){S.forEach(at=>{const mt=this._doc.createElement("style");mt.textContent=at,Te.push(H.appendChild(mt))})}addHost(S){const H=[];this._addStylesToHost(this._stylesSet,S,H),this._hostNodes.set(S,H)}removeHost(S){const H=this._hostNodes.get(S);H&&H.forEach(re),this._hostNodes.delete(S)}onStylesAdded(S){this._hostNodes.forEach((H,Te)=>{this._addStylesToHost(S,Te,H)})}ngOnDestroy(){this._hostNodes.forEach(S=>S.forEach(re))}}return ue.\u0275fac=function(S){return new(S||ue)(d.LFG(p.K0))},ue.\u0275prov=d.Yz7({token:ue,factory:ue.\u0275fac}),ue})();function re(ue){(0,p.q)().remove(ue)}const fe={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},oe=/%COMP%/g;function Ee(ue,te,S){for(let H=0;H{if("__ngUnwrap__"===te)return ue;!1===ue(te)&&(te.preventDefault(),te.returnValue=!1)}}let Ce=(()=>{class ue{constructor(S,H,Te){this.eventManager=S,this.sharedStylesHost=H,this.appId=Te,this.rendererByCompId=new Map,this.defaultRenderer=new W(S)}createRenderer(S,H){if(!S||!H)return this.defaultRenderer;switch(H.encapsulation){case d.ifc.Emulated:{let Te=this.rendererByCompId.get(H.id);return Te||(Te=new et(this.eventManager,this.sharedStylesHost,H,this.appId),this.rendererByCompId.set(H.id,Te)),Te.applyToHost(S),Te}case 1:case d.ifc.ShadowDom:return new Y(this.eventManager,this.sharedStylesHost,S,H);default:if(!this.rendererByCompId.has(H.id)){const Te=Ee(H.id,H.styles,[]);this.sharedStylesHost.addStyles(Te),this.rendererByCompId.set(H.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return ue.\u0275fac=function(S){return new(S||ue)(d.LFG(V),d.LFG(ie),d.LFG(d.AFp))},ue.\u0275prov=d.Yz7({token:ue,factory:ue.\u0275fac}),ue})();class W{constructor(te){this.eventManager=te,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(te,S){return S?document.createElementNS(fe[S]||S,te):document.createElement(te)}createComment(te){return document.createComment(te)}createText(te){return document.createTextNode(te)}appendChild(te,S){te.appendChild(S)}insertBefore(te,S,H){te&&te.insertBefore(S,H)}removeChild(te,S){te&&te.removeChild(S)}selectRootElement(te,S){let H="string"==typeof te?document.querySelector(te):te;if(!H)throw new Error(`The selector "${te}" did not match any elements`);return S||(H.textContent=""),H}parentNode(te){return te.parentNode}nextSibling(te){return te.nextSibling}setAttribute(te,S,H,Te){if(Te){S=Te+":"+S;const at=fe[Te];at?te.setAttributeNS(at,S,H):te.setAttribute(S,H)}else te.setAttribute(S,H)}removeAttribute(te,S,H){if(H){const Te=fe[H];Te?te.removeAttributeNS(Te,S):te.removeAttribute(`${H}:${S}`)}else te.removeAttribute(S)}addClass(te,S){te.classList.add(S)}removeClass(te,S){te.classList.remove(S)}setStyle(te,S,H,Te){Te&(d.JOm.DashCase|d.JOm.Important)?te.style.setProperty(S,H,Te&d.JOm.Important?"important":""):te.style[S]=H}removeStyle(te,S,H){H&d.JOm.DashCase?te.style.removeProperty(S):te.style[S]=""}setProperty(te,S,H){te[S]=H}setValue(te,S){te.nodeValue=S}listen(te,S,H){return"string"==typeof te?this.eventManager.addGlobalEventListener(te,S,ge(H)):this.eventManager.addEventListener(te,S,ge(H))}}class et extends W{constructor(te,S,H,Te){super(te),this.component=H;const at=Ee(Te+"-"+H.id,H.styles,[]);S.addStyles(at),this.contentAttr=function ye(ue){return"_ngcontent-%COMP%".replace(oe,ue)}(Te+"-"+H.id),this.hostAttr=function ae(ue){return"_nghost-%COMP%".replace(oe,ue)}(Te+"-"+H.id)}applyToHost(te){super.setAttribute(te,this.hostAttr,"")}createElement(te,S){const H=super.createElement(te,S);return super.setAttribute(H,this.contentAttr,""),H}}class Y extends W{constructor(te,S,H,Te){super(te),this.sharedStylesHost=S,this.hostEl=H,this.shadowRoot=H.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const at=Ee(Te.id,Te.styles,[]);for(let mt=0;mt{class ue extends de{constructor(S){super(S)}supports(S){return!0}addEventListener(S,H,Te){return S.addEventListener(H,Te,!1),()=>this.removeEventListener(S,H,Te)}removeEventListener(S,H,Te){return S.removeEventListener(H,Te)}}return ue.\u0275fac=function(S){return new(S||ue)(d.LFG(p.K0))},ue.\u0275prov=d.Yz7({token:ue,factory:ue.\u0275fac}),ue})();const ve=["alt","control","meta","shift"],Ne={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Oe={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Ue={alt:ue=>ue.altKey,control:ue=>ue.ctrlKey,meta:ue=>ue.metaKey,shift:ue=>ue.shiftKey};let qe=(()=>{class ue extends de{constructor(S){super(S)}supports(S){return null!=ue.parseEventName(S)}addEventListener(S,H,Te){const at=ue.parseEventName(H),mt=ue.eventCallback(at.fullKey,Te,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,p.q)().onAndCancel(S,at.domEventName,mt))}static parseEventName(S){const H=S.toLowerCase().split("."),Te=H.shift();if(0===H.length||"keydown"!==Te&&"keyup"!==Te)return null;const at=ue._normalizeKey(H.pop());let mt="";if(ve.forEach(Mt=>{const wn=H.indexOf(Mt);wn>-1&&(H.splice(wn,1),mt+=Mt+".")}),mt+=at,0!=H.length||0===at.length)return null;const zt={};return zt.domEventName=Te,zt.fullKey=mt,zt}static getEventFullKey(S){let H="",Te=function st(ue){let te=ue.key;if(null==te){if(te=ue.keyIdentifier,null==te)return"Unidentified";te.startsWith("U+")&&(te=String.fromCharCode(parseInt(te.substring(2),16)),3===ue.location&&Oe.hasOwnProperty(te)&&(te=Oe[te]))}return Ne[te]||te}(S);return Te=Te.toLowerCase()," "===Te?Te="space":"."===Te&&(Te="dot"),ve.forEach(at=>{at!=Te&&Ue[at](S)&&(H+=at+".")}),H+=Te,H}static eventCallback(S,H,Te){return at=>{ue.getEventFullKey(at)===S&&Te.runGuarded(()=>H(at))}}static _normalizeKey(S){return"esc"===S?"escape":S}}return ue.\u0275fac=function(S){return new(S||ue)(d.LFG(p.K0))},ue.\u0275prov=d.Yz7({token:ue,factory:ue.\u0275fac}),ue})();const tt=(0,d.eFA)(d._c5,"browser",[{provide:d.Lbi,useValue:p.bD},{provide:d.g9A,useValue:function rt(){L.makeCurrent(),O.init()},multi:!0},{provide:p.K0,useFactory:function Et(){return(0,d.RDi)(document),document},deps:[]}]),It=[{provide:d.zSh,useValue:"root"},{provide:d.qLn,useFactory:function it(){return new d.qLn},deps:[]},{provide:x,useClass:ee,multi:!0,deps:[p.K0,d.R0b,d.Lbi]},{provide:x,useClass:qe,multi:!0,deps:[p.K0]},{provide:Ce,useClass:Ce,deps:[V,ie,d.AFp]},{provide:d.FYo,useExisting:Ce},{provide:T,useExisting:ie},{provide:ie,useClass:ie,deps:[p.K0]},{provide:d.dDg,useClass:d.dDg,deps:[d.R0b]},{provide:V,useClass:V,deps:[x,d.R0b]},{provide:p.JF,useClass:R,deps:[]}];let wt=(()=>{class ue{constructor(S){if(S)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(S){return{ngModule:ue,providers:[{provide:d.AFp,useValue:S.appId},{provide:q,useExisting:d.AFp},j]}}}return ue.\u0275fac=function(S){return new(S||ue)(d.LFG(ue,12))},ue.\u0275mod=d.oAB({type:ue}),ue.\u0275inj=d.cJS({providers:It,imports:[p.ez,d.hGG]}),ue})(),Kt=(()=>{class ue{constructor(S){this._doc=S,this._dom=(0,p.q)()}addTag(S,H=!1){return S?this._getOrCreateElement(S,H):null}addTags(S,H=!1){return S?S.reduce((Te,at)=>(at&&Te.push(this._getOrCreateElement(at,H)),Te),[]):[]}getTag(S){return S&&this._doc.querySelector(`meta[${S}]`)||null}getTags(S){if(!S)return[];const H=this._doc.querySelectorAll(`meta[${S}]`);return H?[].slice.call(H):[]}updateTag(S,H){if(!S)return null;H=H||this._parseSelector(S);const Te=this.getTag(H);return Te?this._setMetaElementAttributes(S,Te):this._getOrCreateElement(S,!0)}removeTag(S){this.removeTagElement(this.getTag(S))}removeTagElement(S){S&&this._dom.remove(S)}_getOrCreateElement(S,H=!1){if(!H){const mt=this._parseSelector(S),zt=this.getTags(mt).filter(Mt=>this._containsAttributes(S,Mt))[0];if(void 0!==zt)return zt}const Te=this._dom.createElement("meta");return this._setMetaElementAttributes(S,Te),this._doc.getElementsByTagName("head")[0].appendChild(Te),Te}_setMetaElementAttributes(S,H){return Object.keys(S).forEach(Te=>H.setAttribute(this._getMetaKeyMap(Te),S[Te])),H}_parseSelector(S){const H=S.name?"name":"property";return`${H}="${S[H]}"`}_containsAttributes(S,H){return Object.keys(S).every(Te=>H.getAttribute(this._getMetaKeyMap(Te))===S[Te])}_getMetaKeyMap(S){return dn[S]||S}}return ue.\u0275fac=function(S){return new(S||ue)(d.LFG(p.K0))},ue.\u0275prov=d.Yz7({token:ue,factory:function(S){let H=null;return H=S?new S:function Gt(){return new Kt((0,d.LFG)(p.K0))}(),H},providedIn:"root"}),ue})();const dn={httpEquiv:"http-equiv"};let Ft=(()=>{class ue{constructor(S){this._doc=S}getTitle(){return this._doc.title}setTitle(S){this._doc.title=S||""}}return ue.\u0275fac=function(S){return new(S||ue)(d.LFG(p.K0))},ue.\u0275prov=d.Yz7({token:ue,factory:function(S){let H=null;return H=S?new S:function bt(){return new Ft((0,d.LFG)(p.K0))}(),H},providedIn:"root"}),ue})();function We(ue){return ue}"undefined"!=typeof window&&window;let ke=(()=>{class ue{constructor(){this.store={},this.onSerializeCallbacks={}}static init(S){const H=new ue;return H.store=S,H}get(S,H){return void 0!==this.store[S]?this.store[S]:H}set(S,H){this.store[S]=H}remove(S){delete this.store[S]}hasKey(S){return this.store.hasOwnProperty(S)}onSerialize(S,H){this.onSerializeCallbacks[S]=H}toJson(){for(const S in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(S))try{this.store[S]=this.onSerializeCallbacks[S]()}catch(H){console.warn("Exception in onSerialize callback: ",H)}return JSON.stringify(this.store)}}return ue.\u0275fac=function(S){return new(S||ue)},ue.\u0275prov=d.Yz7({token:ue,factory:ue.\u0275fac}),ue})();function Ke(ue,te){const S=ue.getElementById(te+"-state");let H={};if(S&&S.textContent)try{H=JSON.parse(function Fe(ue){const te={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return ue.replace(/&[^;]+;/g,S=>te[S])}(S.textContent))}catch(Te){console.warn("Exception while restoring TransferState for app "+te,Te)}return ke.init(H)}let lt=(()=>{class ue{}return ue.\u0275fac=function(S){return new(S||ue)},ue.\u0275mod=d.oAB({type:ue}),ue.\u0275inj=d.cJS({providers:[{provide:ke,useFactory:Ke,deps:[p.K0,d.AFp]}]}),ue})(),bn=(()=>{class ue{}return ue.\u0275fac=function(S){return new(S||ue)},ue.\u0275prov=d.Yz7({token:ue,factory:function(S){let H=null;return H=S?new(S||ue):d.LFG(tr),H},providedIn:"root"}),ue})(),tr=(()=>{class ue extends bn{constructor(S){super(),this._doc=S}sanitize(S,H){if(null==H)return null;switch(S){case d.q3G.NONE:return H;case d.q3G.HTML:return(0,d.qzn)(H,"HTML")?(0,d.z3N)(H):(0,d.EiD)(this._doc,String(H)).toString();case d.q3G.STYLE:return(0,d.qzn)(H,"Style")?(0,d.z3N)(H):H;case d.q3G.SCRIPT:if((0,d.qzn)(H,"Script"))return(0,d.z3N)(H);throw new Error("unsafe value used in a script context");case d.q3G.URL:return(0,d.yhl)(H),(0,d.qzn)(H,"URL")?(0,d.z3N)(H):(0,d.mCW)(String(H));case d.q3G.RESOURCE_URL:if((0,d.qzn)(H,"ResourceURL"))return(0,d.z3N)(H);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${S} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(S){return(0,d.JVY)(S)}bypassSecurityTrustStyle(S){return(0,d.L6k)(S)}bypassSecurityTrustScript(S){return(0,d.eBb)(S)}bypassSecurityTrustUrl(S){return(0,d.LAX)(S)}bypassSecurityTrustResourceUrl(S){return(0,d.pB0)(S)}}return ue.\u0275fac=function(S){return new(S||ue)(d.LFG(p.K0))},ue.\u0275prov=d.Yz7({token:ue,factory:function(S){let H=null;return H=S?new S:function er(ue){return new tr(ue.get(p.K0))}(d.LFG(d.zs3)),H},providedIn:"root"}),ue})()},8730:(je,ce,D)=>{"use strict";D.d(ce,{gz:()=>Xt,m2:()=>tt,F0:()=>Dn,Od:()=>xr,yS:()=>Ji,Bz:()=>ns,lC:()=>gr,bq:()=>Te});var p=D(7587),d=D(8306),G=D(4742),L=D(2076),K=D(4671),Z=D(3268),U=D(3269),ne=D(1810),q=D(5403),F=D(9672);function R(c,l,a){c?(0,F.f)(a,c,l):l()}var x=D(576);function V(c,l){const a=(0,x.m)(c)?c:()=>c,m=C=>C.error(a());return new d.y(l?C=>l.schedule(m,0,C):m)}var de=D(8421);function T(c){return new d.y(l=>{(0,de.Xf)(c()).subscribe(l)})}var ie=D(727),re=D(4482);function fe(){return(0,re.e)((c,l)=>{let a=null;c._refCount++;const m=(0,q.x)(l,void 0,void 0,void 0,()=>{if(!c||c._refCount<=0||0<--c._refCount)return void(a=null);const C=c._connection,A=a;a=null,C&&(!A||C===A)&&C.unsubscribe(),l.unsubscribe()});c.subscribe(m),m.closed||(a=c.connect())})}class oe extends d.y{constructor(l,a){super(),this.source=l,this.subjectFactory=a,this._subject=null,this._refCount=0,this._connection=null,(0,re.A)(l)&&(this.lift=l.lift)}_subscribe(l){return this.getSubject().subscribe(l)}getSubject(){const l=this._subject;return(!l||l.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:l}=this;this._subject=this._connection=null,null==l||l.unsubscribe()}connect(){let l=this._connection;if(!l){l=this._connection=new ie.w0;const a=this.getSubject();l.add(this.source.subscribe((0,q.x)(a,void 0,()=>{this._teardown(),a.complete()},m=>{this._teardown(),a.error(m)},()=>this._teardown()))),l.closed&&(this._connection=null,l=ie.w0.EMPTY)}return l}refCount(){return fe()(this)}}var k=D(9646),Me=D(1135),X=D(6805),pe=D(7272),ye=D(515),ae=D(7579);function Ee(c,l,a,m,C){return(A,N)=>{let $=a,Ae=l,Qe=0;A.subscribe((0,q.x)(N,_t=>{const nt=Qe++;Ae=$?c(Ae,_t,nt):($=!0,_t),m&&N.next(Ae)},C&&(()=>{$&&N.next(Ae),N.complete()})))}}function ge(c,l){return(0,re.e)(Ee(c,l,arguments.length>=2,!0))}var Re=D(9300);function Ce(c){return c<=0?()=>ye.E:(0,re.e)((l,a)=>{let m=[];l.subscribe((0,q.x)(a,C=>{m.push(C),c{for(const C of m)a.next(C);a.complete()},void 0,()=>{m=null}))})}var W=D(8068),He=D(6590),Y=D(4004),ee=D(3900),ve=D(5698),De=D(8675),Ne=D(262),Oe=D(4351),Ue=D(590),qe=D(5577),st=D(8505),rt=D(8189),it=D(9808);class Et{constructor(l,a){this.id=l,this.url=a}}class Ut extends Et{constructor(l,a,m="imperative",C=null){super(l,a),this.navigationTrigger=m,this.restoredState=C}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class tt extends Et{constructor(l,a,m){super(l,a),this.urlAfterRedirects=m}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class It extends Et{constructor(l,a,m){super(l,a),this.reason=m}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class wt extends Et{constructor(l,a,m){super(l,a),this.error=m}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Gt extends Et{constructor(l,a,m,C){super(l,a),this.urlAfterRedirects=m,this.state=C}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Kt extends Et{constructor(l,a,m,C){super(l,a),this.urlAfterRedirects=m,this.state=C}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dn extends Et{constructor(l,a,m,C,A){super(l,a),this.urlAfterRedirects=m,this.state=C,this.shouldActivate=A}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class bt extends Et{constructor(l,a,m,C){super(l,a),this.urlAfterRedirects=m,this.state=C}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ft extends Et{constructor(l,a,m,C){super(l,a),this.urlAfterRedirects=m,this.state=C}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Sn{constructor(l){this.route=l}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ot{constructor(l){this.route=l}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Se{constructor(l){this.snapshot=l}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Q{constructor(l){this.snapshot=l}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class J{constructor(l){this.snapshot=l}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class be{constructor(l){this.snapshot=l}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _e{constructor(l,a,m){this.routerEvent=l,this.position=a,this.anchor=m}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const se="primary";class Pe{constructor(l){this.params=l||{}}has(l){return Object.prototype.hasOwnProperty.call(this.params,l)}get(l){if(this.has(l)){const a=this.params[l];return Array.isArray(a)?a[0]:a}return null}getAll(l){if(this.has(l)){const a=this.params[l];return Array.isArray(a)?a:[a]}return[]}get keys(){return Object.keys(this.params)}}function yt(c){return new Pe(c)}const ut="ngNavigationCancelingError";function le(c){const l=Error("NavigationCancelingError: "+c);return l[ut]=!0,l}function Fe(c,l,a){const m=a.path.split("/");if(m.length>c.length||"full"===a.pathMatch&&(l.hasChildren()||m.lengthm[A]===C)}return c===l}function lt(c){return Array.prototype.concat.apply([],c)}function gn(c){return c.length>0?c[c.length-1]:null}function dt(c,l){for(const a in c)c.hasOwnProperty(a)&&l(c[a],a)}function Ht(c){return(0,p.CqO)(c)?c:(0,p.QGY)(c)?(0,L.D)(Promise.resolve(c)):(0,k.of)(c)}const Kn={exact:function er(c,l,a){if(!mt(c.segments,l.segments)||!te(c.segments,l.segments,a)||c.numberOfChildren!==l.numberOfChildren)return!1;for(const m in l.children)if(!c.children[m]||!er(c.children[m],l.children[m],a))return!1;return!0},subset:ni},Un={exact:function bn(c,l){return ke(c,l)},subset:function tr(c,l){return Object.keys(l).length<=Object.keys(c).length&&Object.keys(l).every(a=>Ke(c[a],l[a]))},ignored:()=>!0};function fn(c,l,a){return Kn[a.paths](c.root,l.root,a.matrixParams)&&Un[a.queryParams](c.queryParams,l.queryParams)&&!("exact"===a.fragment&&c.fragment!==l.fragment)}function ni(c,l,a){return ue(c,l,l.segments,a)}function ue(c,l,a,m){if(c.segments.length>a.length){const C=c.segments.slice(0,a.length);return!(!mt(C,a)||l.hasChildren()||!te(C,a,m))}if(c.segments.length===a.length){if(!mt(c.segments,a)||!te(c.segments,a,m))return!1;for(const C in l.children)if(!c.children[C]||!ni(c.children[C],l.children[C],m))return!1;return!0}{const C=a.slice(0,c.segments.length),A=a.slice(c.segments.length);return!!(mt(c.segments,C)&&te(c.segments,C,m)&&c.children[se])&&ue(c.children[se],l,A,m)}}function te(c,l,a){return l.every((m,C)=>Un[a](c[C].parameters,m.parameters))}class S{constructor(l,a,m){this.root=l,this.queryParams=a,this.fragment=m}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=yt(this.queryParams)),this._queryParamMap}toString(){return Fn.serialize(this)}}class H{constructor(l,a){this.segments=l,this.children=a,this.parent=null,dt(a,(m,C)=>m.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Yt(this)}}class Te{constructor(l,a){this.path=l,this.parameters=a}get parameterMap(){return this._parameterMap||(this._parameterMap=yt(this.parameters)),this._parameterMap}toString(){return mn(this)}}function mt(c,l){return c.length===l.length&&c.every((a,m)=>a.path===l[m].path)}class Mt{}class wn{parse(l){const a=new cr(l);return new S(a.parseRootSegment(),a.parseQueryParams(),a.parseFragment())}serialize(l){const a=`/${Rn(l.root,!0)}`,m=function vt(c){const l=Object.keys(c).map(a=>{const m=c[a];return Array.isArray(m)?m.map(C=>`${Nn(a)}=${Nn(C)}`).join("&"):`${Nn(a)}=${Nn(m)}`}).filter(a=>!!a);return l.length?`?${l.join("&")}`:""}(l.queryParams);return`${a}${m}${"string"==typeof l.fragment?`#${function Yn(c){return encodeURI(c)}(l.fragment)}`:""}`}}const Fn=new wn;function Yt(c){return c.segments.map(l=>mn(l)).join("/")}function Rn(c,l){if(!c.hasChildren())return Yt(c);if(l){const a=c.children[se]?Rn(c.children[se],!1):"",m=[];return dt(c.children,(C,A)=>{A!==se&&m.push(`${A}:${Rn(C,!1)}`)}),m.length>0?`${a}(${m.join("//")})`:a}{const a=function zt(c,l){let a=[];return dt(c.children,(m,C)=>{C===se&&(a=a.concat(l(m,C)))}),dt(c.children,(m,C)=>{C!==se&&(a=a.concat(l(m,C)))}),a}(c,(m,C)=>C===se?[Rn(c.children[se],!1)]:[`${C}:${Rn(m,!1)}`]);return 1===Object.keys(c.children).length&&null!=c.children[se]?`${Yt(c)}/${a[0]}`:`${Yt(c)}/(${a.join("//")})`}}function Dr(c){return encodeURIComponent(c).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Nn(c){return Dr(c).replace(/%3B/gi,";")}function Mn(c){return Dr(c).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Rt(c){return decodeURIComponent(c)}function ur(c){return Rt(c.replace(/\+/g,"%20"))}function mn(c){return`${Mn(c.path)}${function Ye(c){return Object.keys(c).map(l=>`;${Mn(l)}=${Mn(c[l])}`).join("")}(c.parameters)}`}const xt=/^[^\/()?;=#]+/;function Jt(c){const l=c.match(xt);return l?l[0]:""}const Ln=/^[^=?&#]+/,jn=/^[^&#]+/;class cr{constructor(l){this.url=l,this.remaining=l}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new H([],{}):new H([],this.parseChildren())}parseQueryParams(){const l={};if(this.consumeOptional("?"))do{this.parseQueryParam(l)}while(this.consumeOptional("&"));return l}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const l=[];for(this.peekStartsWith("(")||l.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),l.push(this.parseSegment());let a={};this.peekStartsWith("/(")&&(this.capture("/"),a=this.parseParens(!0));let m={};return this.peekStartsWith("(")&&(m=this.parseParens(!1)),(l.length>0||Object.keys(a).length>0)&&(m[se]=new H(l,a)),m}parseSegment(){const l=Jt(this.remaining);if(""===l&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(l),new Te(Rt(l),this.parseMatrixParams())}parseMatrixParams(){const l={};for(;this.consumeOptional(";");)this.parseParam(l);return l}parseParam(l){const a=Jt(this.remaining);if(!a)return;this.capture(a);let m="";if(this.consumeOptional("=")){const C=Jt(this.remaining);C&&(m=C,this.capture(m))}l[Rt(a)]=Rt(m)}parseQueryParam(l){const a=function Zt(c){const l=c.match(Ln);return l?l[0]:""}(this.remaining);if(!a)return;this.capture(a);let m="";if(this.consumeOptional("=")){const N=function Wt(c){const l=c.match(jn);return l?l[0]:""}(this.remaining);N&&(m=N,this.capture(m))}const C=ur(a),A=ur(m);if(l.hasOwnProperty(C)){let N=l[C];Array.isArray(N)||(N=[N],l[C]=N),N.push(A)}else l[C]=A}parseParens(l){const a={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const m=Jt(this.remaining),C=this.remaining[m.length];if("/"!==C&&")"!==C&&";"!==C)throw new Error(`Cannot parse url '${this.url}'`);let A;m.indexOf(":")>-1?(A=m.substr(0,m.indexOf(":")),this.capture(A),this.capture(":")):l&&(A=se);const N=this.parseChildren();a[A]=1===Object.keys(N).length?N[se]:new H([],N),this.consumeOptional("//")}return a}peekStartsWith(l){return this.remaining.startsWith(l)}consumeOptional(l){return!!this.peekStartsWith(l)&&(this.remaining=this.remaining.substring(l.length),!0)}capture(l){if(!this.consumeOptional(l))throw new Error(`Expected "${l}".`)}}class Jn{constructor(l){this._root=l}get root(){return this._root.value}parent(l){const a=this.pathFromRoot(l);return a.length>1?a[a.length-2]:null}children(l){const a=pt(l,this._root);return a?a.children.map(m=>m.value):[]}firstChild(l){const a=pt(l,this._root);return a&&a.children.length>0?a.children[0].value:null}siblings(l){const a=Hn(l,this._root);return a.length<2?[]:a[a.length-2].children.map(C=>C.value).filter(C=>C!==l)}pathFromRoot(l){return Hn(l,this._root).map(a=>a.value)}}function pt(c,l){if(c===l.value)return l;for(const a of l.children){const m=pt(c,a);if(m)return m}return null}function Hn(c,l){if(c===l.value)return[l];for(const a of l.children){const m=Hn(c,a);if(m.length)return m.unshift(l),m}return[]}class hn{constructor(l,a){this.value=l,this.children=a}toString(){return`TreeNode(${this.value})`}}function On(c){const l={};return c&&c.children.forEach(a=>l[a.value.outlet]=a),l}class nr extends Jn{constructor(l,a){super(l),this.snapshot=a,Tn(this,l)}toString(){return this.snapshot.toString()}}function nn(c,l){const a=function xn(c,l){const N=new pi([],{},{},"",{},se,l,null,c.root,-1,{});return new gi("",new hn(N,[]))}(c,l),m=new Me.X([new Te("",{})]),C=new Me.X({}),A=new Me.X({}),N=new Me.X({}),$=new Me.X(""),Ae=new Xt(m,C,N,$,A,se,l,a.root);return Ae.snapshot=a.root,new nr(new hn(Ae,[]),a)}class Xt{constructor(l,a,m,C,A,N,$,Ae){this.url=l,this.params=a,this.queryParams=m,this.fragment=C,this.data=A,this.outlet=N,this.component=$,this._futureSnapshot=Ae}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,Y.U)(l=>yt(l)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Y.U)(l=>yt(l)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function pn(c,l="emptyOnly"){const a=c.pathFromRoot;let m=0;if("always"!==l)for(m=a.length-1;m>=1;){const C=a[m],A=a[m-1];if(C.routeConfig&&""===C.routeConfig.path)m--;else{if(A.component)break;m--}}return function Lt(c){return c.reduce((l,a)=>({params:Object.assign(Object.assign({},l.params),a.params),data:Object.assign(Object.assign({},l.data),a.data),resolve:Object.assign(Object.assign({},l.resolve),a._resolvedData)}),{params:{},data:{},resolve:{}})}(a.slice(m))}class pi{constructor(l,a,m,C,A,N,$,Ae,Qe,_t,nt){this.url=l,this.params=a,this.queryParams=m,this.fragment=C,this.data=A,this.outlet=N,this.component=$,this.routeConfig=Ae,this._urlSegment=Qe,this._lastPathIndex=_t,this._resolve=nt}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=yt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=yt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(m=>m.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class gi extends Jn{constructor(l,a){super(a),this.url=l,Tn(this,a)}toString(){return An(this._root)}}function Tn(c,l){l.value._routerState=c,l.children.forEach(a=>Tn(c,a))}function An(c){const l=c.children.length>0?` { ${c.children.map(An).join(", ")} } `:"";return`${c.value}${l}`}function dr(c){if(c.snapshot){const l=c.snapshot,a=c._futureSnapshot;c.snapshot=a,ke(l.queryParams,a.queryParams)||c.queryParams.next(a.queryParams),l.fragment!==a.fragment&&c.fragment.next(a.fragment),ke(l.params,a.params)||c.params.next(a.params),function We(c,l){if(c.length!==l.length)return!1;for(let a=0;ake(a.parameters,l[m].parameters))}(c.url,l.url);return a&&!(!c.parent!=!l.parent)&&(!c.parent||Cr(c.parent,l.parent))}function rn(c,l,a){if(a&&c.shouldReuseRoute(l.value,a.value.snapshot)){const m=a.value;m._futureSnapshot=l.value;const C=function Ri(c,l,a){return l.children.map(m=>{for(const C of a.children)if(c.shouldReuseRoute(m.value,C.value.snapshot))return rn(c,m,C);return rn(c,m)})}(c,l,a);return new hn(m,C)}{if(c.shouldAttach(l.value)){const A=c.retrieve(l.value);if(null!==A){const N=A.route;return N.value._futureSnapshot=l.value,N.children=l.children.map($=>rn(c,$)),N}}const m=function ro(c){return new Xt(new Me.X(c.url),new Me.X(c.params),new Me.X(c.queryParams),new Me.X(c.fragment),new Me.X(c.data),c.outlet,c.component,c)}(l.value),C=l.children.map(A=>rn(c,A));return new hn(m,C)}}function Br(c){return"object"==typeof c&&null!=c&&!c.outlets&&!c.segmentPath}function ri(c){return"object"==typeof c&&null!=c&&c.outlets}function ii(c,l,a,m,C){let A={};if(m&&dt(m,($,Ae)=>{A[Ae]=Array.isArray($)?$.map(Qe=>`${Qe}`):`${$}`}),c===l)return new S(a,A,C);const N=Ni(c,l,a);return new S(N,A,C)}function Ni(c,l,a){const m={};return dt(c.children,(C,A)=>{m[A]=C===l?a:Ni(C,l,a)}),new H(c.segments,m)}class vi{constructor(l,a,m){if(this.isAbsolute=l,this.numberOfDoubleDots=a,this.commands=m,l&&m.length>0&&Br(m[0]))throw new Error("Root segment cannot have matrix parameters");const C=m.find(ri);if(C&&C!==gn(m))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ur{constructor(l,a,m){this.segmentGroup=l,this.processChildren=a,this.index=m}}function ki(c,l,a){if(c||(c=new H([],{})),0===c.segments.length&&c.hasChildren())return Er(c,l,a);const m=function so(c,l,a){let m=0,C=l;const A={match:!1,pathIndex:0,commandIndex:0};for(;C=a.length)return A;const N=c.segments[C],$=a[m];if(ri($))break;const Ae=`${$}`,Qe=m0&&void 0===Ae)break;if(Ae&&Qe&&"object"==typeof Qe&&void 0===Qe.outlets){if(!Mr(Ae,Qe,N))return A;m+=2}else{if(!Mr(Ae,{},N))return A;m++}C++}return{match:!0,pathIndex:C,commandIndex:m}}(c,l,a),C=a.slice(m.commandIndex);if(m.match&&m.pathIndex{"string"==typeof A&&(A=[A]),null!==A&&(C[N]=ki(c.children[N],l,A))}),dt(c.children,(A,N)=>{void 0===m[N]&&(C[N]=A)}),new H(c.segments,C)}}function br(c,l,a){const m=c.segments.slice(0,l);let C=0;for(;C{"string"==typeof a&&(a=[a]),null!==a&&(l[m]=br(new H([],{}),0,a))}),l}function wr(c){const l={};return dt(c,(a,m)=>l[m]=`${a}`),l}function Mr(c,l,a){return c==a.path&&ke(l,a.parameters)}class oi{constructor(l,a,m,C){this.routeReuseStrategy=l,this.futureState=a,this.currState=m,this.forwardEvent=C}activate(l){const a=this.futureState._root,m=this.currState?this.currState._root:null;this.deactivateChildRoutes(a,m,l),dr(this.futureState.root),this.activateChildRoutes(a,m,l)}deactivateChildRoutes(l,a,m){const C=On(a);l.children.forEach(A=>{const N=A.value.outlet;this.deactivateRoutes(A,C[N],m),delete C[N]}),dt(C,(A,N)=>{this.deactivateRouteAndItsChildren(A,m)})}deactivateRoutes(l,a,m){const C=l.value,A=a?a.value:null;if(C===A)if(C.component){const N=m.getContext(C.outlet);N&&this.deactivateChildRoutes(l,a,N.children)}else this.deactivateChildRoutes(l,a,m);else A&&this.deactivateRouteAndItsChildren(a,m)}deactivateRouteAndItsChildren(l,a){l.value.component&&this.routeReuseStrategy.shouldDetach(l.value.snapshot)?this.detachAndStoreRouteSubtree(l,a):this.deactivateRouteAndOutlet(l,a)}detachAndStoreRouteSubtree(l,a){const m=a.getContext(l.value.outlet),C=m&&l.value.component?m.children:a,A=On(l);for(const N of Object.keys(A))this.deactivateRouteAndItsChildren(A[N],C);if(m&&m.outlet){const N=m.outlet.detach(),$=m.children.onOutletDeactivated();this.routeReuseStrategy.store(l.value.snapshot,{componentRef:N,route:l,contexts:$})}}deactivateRouteAndOutlet(l,a){const m=a.getContext(l.value.outlet),C=m&&l.value.component?m.children:a,A=On(l);for(const N of Object.keys(A))this.deactivateRouteAndItsChildren(A[N],C);m&&m.outlet&&(m.outlet.deactivate(),m.children.onOutletDeactivated(),m.attachRef=null,m.resolver=null,m.route=null)}activateChildRoutes(l,a,m){const C=On(a);l.children.forEach(A=>{this.activateRoutes(A,C[A.value.outlet],m),this.forwardEvent(new be(A.value.snapshot))}),l.children.length&&this.forwardEvent(new Q(l.value.snapshot))}activateRoutes(l,a,m){const C=l.value,A=a?a.value:null;if(dr(C),C===A)if(C.component){const N=m.getOrCreateContext(C.outlet);this.activateChildRoutes(l,a,N.children)}else this.activateChildRoutes(l,a,m);else if(C.component){const N=m.getOrCreateContext(C.outlet);if(this.routeReuseStrategy.shouldAttach(C.snapshot)){const $=this.routeReuseStrategy.retrieve(C.snapshot);this.routeReuseStrategy.store(C.snapshot,null),N.children.onOutletReAttached($.contexts),N.attachRef=$.componentRef,N.route=$.route.value,N.outlet&&N.outlet.attach($.componentRef,$.route.value),dr($.route.value),this.activateChildRoutes(l,null,N.children)}else{const $=function ao(c){for(let l=c.parent;l;l=l.parent){const a=l.routeConfig;if(a&&a._loadedConfig)return a._loadedConfig;if(a&&a.component)return null}return null}(C.snapshot),Ae=$?$.module.componentFactoryResolver:null;N.attachRef=null,N.route=C,N.resolver=Ae,N.outlet&&N.outlet.activateWith(C,Ae),this.activateChildRoutes(l,null,N.children)}}else this.activateChildRoutes(l,null,m)}}class $n{constructor(l,a){this.routes=l,this.module=a}}function Zn(c){return"function"==typeof c}function Qn(c){return c instanceof S}const hr=Symbol("INITIAL_VALUE");function pr(){return(0,ee.w)(c=>function j(...c){const l=(0,U.yG)(c),a=(0,U.jO)(c),{args:m,keys:C}=(0,G.D)(c);if(0===m.length)return(0,L.D)([],l);const A=new d.y(function O(c,l,a=K.y){return m=>{R(l,()=>{const{length:C}=c,A=new Array(C);let N=C,$=C;for(let Ae=0;Ae{const Qe=(0,L.D)(c[Ae],l);let _t=!1;Qe.subscribe((0,q.x)(m,nt=>{A[Ae]=nt,_t||(_t=!0,$--),$||m.next(a(A.slice()))},()=>{--N||m.complete()}))},m)},m)}}(m,l,C?N=>(0,ne.n)(C,N):K.y));return a?A.pipe((0,Z.Z)(a)):A}(c.map(l=>l.pipe((0,ve.q)(1),(0,De.O)(hr)))).pipe(ge((l,a)=>{let m=!1;return a.reduce((C,A,N)=>C!==hr?C:(A===hr&&(m=!0),m||!1!==A&&N!==a.length-1&&!Qn(A)?C:A),l)},hr),(0,Re.h)(l=>l!==hr),(0,Y.U)(l=>Qn(l)?l:!0===l),(0,ve.q)(1)))}class ji{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new on,this.attachRef=null}}class on{constructor(){this.contexts=new Map}onChildOutletCreated(l,a){const m=this.getOrCreateContext(l);m.outlet=a,this.contexts.set(l,m)}onChildOutletDestroyed(l){const a=this.getContext(l);a&&(a.outlet=null,a.attachRef=null)}onOutletDeactivated(){const l=this.contexts;return this.contexts=new Map,l}onOutletReAttached(l){this.contexts=l}getOrCreateContext(l){let a=this.getContext(l);return a||(a=new ji,this.contexts.set(l,a)),a}getContext(l){return this.contexts.get(l)||null}}let gr=(()=>{class c{constructor(a,m,C,A,N){this.parentContexts=a,this.location=m,this.resolver=C,this.changeDetector=N,this.activated=null,this._activatedRoute=null,this.activateEvents=new p.vpe,this.deactivateEvents=new p.vpe,this.attachEvents=new p.vpe,this.detachEvents=new p.vpe,this.name=A||se,a.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const a=this.parentContexts.getContext(this.name);a&&a.route&&(a.attachRef?this.attach(a.attachRef,a.route):this.activateWith(a.route,a.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const a=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(a.instance),a}attach(a,m){this.activated=a,this._activatedRoute=m,this.location.insert(a.hostView),this.attachEvents.emit(a.instance)}deactivate(){if(this.activated){const a=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(a)}}activateWith(a,m){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=a;const N=(m=m||this.resolver).resolveComponentFactory(a._futureSnapshot.routeConfig.component),$=this.parentContexts.getOrCreateContext(this.name).children,Ae=new qn(a,$,this.location.injector);this.activated=this.location.createComponent(N,this.location.length,Ae),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return c.\u0275fac=function(a){return new(a||c)(p.Y36(on),p.Y36(p.s_b),p.Y36(p._Vd),p.$8M("name"),p.Y36(p.sBO))},c.\u0275dir=p.lG2({type:c,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),c})();class qn{constructor(l,a,m){this.route=l,this.childContexts=a,this.parent=m}get(l,a){return l===Xt?this.route:l===on?this.childContexts:this.parent.get(l,a)}}let jr=(()=>{class c{}return c.\u0275fac=function(a){return new(a||c)},c.\u0275cmp=p.Xpm({type:c,selectors:[["ng-component"]],decls:1,vars:0,template:function(a,m){1&a&&p._UZ(0,"router-outlet")},directives:[gr],encapsulation:2}),c})();function Ei(c,l=""){for(let a=0;a_(m)===l);return a.push(...c.filter(m=>_(m)!==l)),a}const B={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ie(c,l,a){var m;if(""===l.path)return"full"===l.pathMatch&&(c.hasChildren()||a.length>0)?Object.assign({},B):{matched:!0,consumedSegments:[],remainingSegments:a,parameters:{},positionalParamSegments:{}};const A=(l.matcher||Fe)(a,c,l);if(!A)return Object.assign({},B);const N={};dt(A.posParams,(Ae,Qe)=>{N[Qe]=Ae.path});const $=A.consumed.length>0?Object.assign(Object.assign({},N),A.consumed[A.consumed.length-1].parameters):N;return{matched:!0,consumedSegments:A.consumed,remainingSegments:a.slice(A.consumed.length),parameters:$,positionalParamSegments:null!==(m=A.posParams)&&void 0!==m?m:{}}}function Be(c,l,a,m,C="corrected"){if(a.length>0&&function jt(c,l,a){return a.some(m=>ft(c,l,m)&&_(m)!==se)}(c,a,m)){const N=new H(l,function kt(c,l,a,m){const C={};C[se]=m,m._sourceSegment=c,m._segmentIndexShift=l.length;for(const A of a)if(""===A.path&&_(A)!==se){const N=new H([],{});N._sourceSegment=c,N._segmentIndexShift=l.length,C[_(A)]=N}return C}(c,l,m,new H(a,c.children)));return N._sourceSegment=c,N._segmentIndexShift=l.length,{segmentGroup:N,slicedSegments:[]}}if(0===a.length&&function Tt(c,l,a){return a.some(m=>ft(c,l,m))}(c,a,m)){const N=new H(c.segments,function ze(c,l,a,m,C,A){const N={};for(const $ of m)if(ft(c,a,$)&&!C[_($)]){const Ae=new H([],{});Ae._sourceSegment=c,Ae._segmentIndexShift="legacy"===A?c.segments.length:l.length,N[_($)]=Ae}return Object.assign(Object.assign({},C),N)}(c,l,a,m,c.children,C));return N._sourceSegment=c,N._segmentIndexShift=l.length,{segmentGroup:N,slicedSegments:a}}const A=new H(c.segments,c.children);return A._sourceSegment=c,A._segmentIndexShift=l.length,{segmentGroup:A,slicedSegments:a}}function ft(c,l,a){return(!(c.hasChildren()||l.length>0)||"full"!==a.pathMatch)&&""===a.path}function Qt(c,l,a,m){return!!(_(c)===m||m!==se&&ft(l,a,c))&&("**"===c.path||Ie(l,c,a).matched)}function Vt(c,l,a){return 0===l.length&&!c.children[a]}class $t{constructor(l){this.segmentGroup=l||null}}class en{constructor(l){this.urlTree=l}}function vn(c){return V(new $t(c))}function rr(c){return V(new en(c))}class ai{constructor(l,a,m,C,A){this.configLoader=a,this.urlSerializer=m,this.urlTree=C,this.config=A,this.allowRedirects=!0,this.ngModule=l.get(p.h0i)}apply(){const l=Be(this.urlTree.root,[],[],this.config).segmentGroup,a=new H(l.segments,l.children);return this.expandSegmentGroup(this.ngModule,this.config,a,se).pipe((0,Y.U)(A=>this.createUrlTree(bi(A),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,Ne.K)(A=>{if(A instanceof en)return this.allowRedirects=!1,this.match(A.urlTree);throw A instanceof $t?this.noMatchError(A):A}))}match(l){return this.expandSegmentGroup(this.ngModule,this.config,l.root,se).pipe((0,Y.U)(C=>this.createUrlTree(bi(C),l.queryParams,l.fragment))).pipe((0,Ne.K)(C=>{throw C instanceof $t?this.noMatchError(C):C}))}noMatchError(l){return new Error(`Cannot match any routes. URL Segment: '${l.segmentGroup}'`)}createUrlTree(l,a,m){const C=l.segments.length>0?new H([],{[se]:l}):l;return new S(C,a,m)}expandSegmentGroup(l,a,m,C){return 0===m.segments.length&&m.hasChildren()?this.expandChildren(l,a,m).pipe((0,Y.U)(A=>new H([],A))):this.expandSegment(l,m,a,m.segments,C,!0)}expandChildren(l,a,m){const C=[];for(const A of Object.keys(m.children))"primary"===A?C.unshift(A):C.push(A);return(0,L.D)(C).pipe((0,Oe.b)(A=>{const N=m.children[A],$=I(a,A);return this.expandSegmentGroup(l,$,N,A).pipe((0,Y.U)(Ae=>({segment:Ae,outlet:A})))}),ge((A,N)=>(A[N.outlet]=N.segment,A),{}),function Ge(c,l){const a=arguments.length>=2;return m=>m.pipe(c?(0,Re.h)((C,A)=>c(C,A,m)):K.y,Ce(1),a?(0,He.d)(l):(0,W.T)(()=>new X.K))}())}expandSegment(l,a,m,C,A,N){return(0,L.D)(m).pipe((0,Oe.b)($=>this.expandSegmentAgainstRoute(l,a,m,$,C,A,N).pipe((0,Ne.K)(Qe=>{if(Qe instanceof $t)return(0,k.of)(null);throw Qe}))),(0,Ue.P)($=>!!$),(0,Ne.K)(($,Ae)=>{if($ instanceof X.K||"EmptyError"===$.name)return Vt(a,C,A)?(0,k.of)(new H([],{})):vn(a);throw $}))}expandSegmentAgainstRoute(l,a,m,C,A,N,$){return Qt(C,a,A,N)?void 0===C.redirectTo?this.matchSegmentAgainstRoute(l,a,C,A,N):$&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(l,a,m,C,A,N):vn(a):vn(a)}expandSegmentAgainstRouteUsingRedirect(l,a,m,C,A,N){return"**"===C.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(l,m,C,N):this.expandRegularSegmentAgainstRouteUsingRedirect(l,a,m,C,A,N)}expandWildCardWithParamsAgainstRouteUsingRedirect(l,a,m,C){const A=this.applyRedirectCommands([],m.redirectTo,{});return m.redirectTo.startsWith("/")?rr(A):this.lineralizeSegments(m,A).pipe((0,qe.z)(N=>{const $=new H(N,{});return this.expandSegment(l,$,a,N,C,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(l,a,m,C,A,N){const{matched:$,consumedSegments:Ae,remainingSegments:Qe,positionalParamSegments:_t}=Ie(a,C,A);if(!$)return vn(a);const nt=this.applyRedirectCommands(Ae,C.redirectTo,_t);return C.redirectTo.startsWith("/")?rr(nt):this.lineralizeSegments(C,nt).pipe((0,qe.z)(Pt=>this.expandSegment(l,a,m,Pt.concat(Qe),N,!1)))}matchSegmentAgainstRoute(l,a,m,C,A){if("**"===m.path)return m.loadChildren?(m._loadedConfig?(0,k.of)(m._loadedConfig):this.configLoader.load(l.injector,m)).pipe((0,Y.U)(nt=>(m._loadedConfig=nt,new H(C,{})))):(0,k.of)(new H(C,{}));const{matched:N,consumedSegments:$,remainingSegments:Ae}=Ie(a,m,C);return N?this.getChildConfig(l,m,C).pipe((0,qe.z)(_t=>{const nt=_t.module,Pt=_t.routes,{segmentGroup:Ot,slicedSegments:vr}=Be(a,$,Ae,Pt),Wr=new H(Ot.segments,Ot.children);if(0===vr.length&&Wr.hasChildren())return this.expandChildren(nt,Pt,Wr).pipe((0,Y.U)(os=>new H($,os)));if(0===Pt.length&&0===vr.length)return(0,k.of)(new H($,{}));const vo=_(m)===A;return this.expandSegment(nt,Wr,Pt,vr,vo?se:A,!0).pipe((0,Y.U)(Ti=>new H($.concat(Ti.segments),Ti.children)))})):vn(a)}getChildConfig(l,a,m){return a.children?(0,k.of)(new $n(a.children,l)):a.loadChildren?void 0!==a._loadedConfig?(0,k.of)(a._loadedConfig):this.runCanLoadGuards(l.injector,a,m).pipe((0,qe.z)(C=>C?this.configLoader.load(l.injector,a).pipe((0,Y.U)(A=>(a._loadedConfig=A,A))):function Xn(c){return V(le(`Cannot load children because the guard of the route "path: '${c.path}'" returned false`))}(a))):(0,k.of)(new $n([],l))}runCanLoadGuards(l,a,m){const C=a.canLoad;if(!C||0===C.length)return(0,k.of)(!0);const A=C.map(N=>{const $=l.get(N);let Ae;if(function Bi(c){return c&&Zn(c.canLoad)}($))Ae=$.canLoad(a,m);else{if(!Zn($))throw new Error("Invalid CanLoad guard");Ae=$(a,m)}return Ht(Ae)});return(0,k.of)(A).pipe(pr(),(0,st.b)(N=>{if(!Qn(N))return;const $=le(`Redirecting to "${this.urlSerializer.serialize(N)}"`);throw $.url=N,$}),(0,Y.U)(N=>!0===N))}lineralizeSegments(l,a){let m=[],C=a.root;for(;;){if(m=m.concat(C.segments),0===C.numberOfChildren)return(0,k.of)(m);if(C.numberOfChildren>1||!C.children[se])return V(new Error(`Only absolute redirects can have named outlets. redirectTo: '${l.redirectTo}'`));C=C.children[se]}}applyRedirectCommands(l,a,m){return this.applyRedirectCreatreUrlTree(a,this.urlSerializer.parse(a),l,m)}applyRedirectCreatreUrlTree(l,a,m,C){const A=this.createSegmentGroup(l,a.root,m,C);return new S(A,this.createQueryParams(a.queryParams,this.urlTree.queryParams),a.fragment)}createQueryParams(l,a){const m={};return dt(l,(C,A)=>{if("string"==typeof C&&C.startsWith(":")){const $=C.substring(1);m[A]=a[$]}else m[A]=C}),m}createSegmentGroup(l,a,m,C){const A=this.createSegments(l,a.segments,m,C);let N={};return dt(a.children,($,Ae)=>{N[Ae]=this.createSegmentGroup(l,$,m,C)}),new H(A,N)}createSegments(l,a,m,C){return a.map(A=>A.path.startsWith(":")?this.findPosParam(l,A,C):this.findOrReturn(A,m))}findPosParam(l,a,m){const C=m[a.path.substring(1)];if(!C)throw new Error(`Cannot redirect to '${l}'. Cannot find '${a.path}'.`);return C}findOrReturn(l,a){let m=0;for(const C of a){if(C.path===l.path)return a.splice(m),C;m++}return l}}function bi(c){const l={};for(const m of Object.keys(c.children)){const A=bi(c.children[m]);(A.segments.length>0||A.hasChildren())&&(l[m]=A)}return function gt(c){if(1===c.numberOfChildren&&c.children[se]){const l=c.children[se];return new H(c.segments.concat(l.segments),l.children)}return c}(new H(c.segments,l))}class wi{constructor(l){this.path=l,this.route=this.path[this.path.length-1]}}class $i{constructor(l,a){this.component=l,this.route=a}}function Gi(c,l,a){const m=c._root;return Ct(m,l?l._root:null,a,[m.value])}function Mi(c,l,a){const m=function Ve(c){if(!c)return null;for(let l=c.parent;l;l=l.parent){const a=l.routeConfig;if(a&&a._loadedConfig)return a._loadedConfig}return null}(l);return(m?m.module.injector:a).get(c)}function Ct(c,l,a,m,C={canDeactivateChecks:[],canActivateChecks:[]}){const A=On(l);return c.children.forEach(N=>{(function lo(c,l,a,m,C={canDeactivateChecks:[],canActivateChecks:[]}){const A=c.value,N=l?l.value:null,$=a?a.getContext(c.value.outlet):null;if(N&&A.routeConfig===N.routeConfig){const Ae=function tn(c,l,a){if("function"==typeof a)return a(c,l);switch(a){case"pathParamsChange":return!mt(c.url,l.url);case"pathParamsOrQueryParamsChange":return!mt(c.url,l.url)||!ke(c.queryParams,l.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Cr(c,l)||!ke(c.queryParams,l.queryParams);default:return!Cr(c,l)}}(N,A,A.routeConfig.runGuardsAndResolvers);Ae?C.canActivateChecks.push(new wi(m)):(A.data=N.data,A._resolvedData=N._resolvedData),Ct(c,l,A.component?$?$.children:null:a,m,C),Ae&&$&&$.outlet&&$.outlet.isActivated&&C.canDeactivateChecks.push(new $i($.outlet.component,N))}else N&&Hr(l,$,C),C.canActivateChecks.push(new wi(m)),Ct(c,null,A.component?$?$.children:null:a,m,C)})(N,A[N.value.outlet],a,m.concat([N.value]),C),delete A[N.value.outlet]}),dt(A,(N,$)=>Hr(N,a.getContext($),C)),C}function Hr(c,l,a){const m=On(c),C=c.value;dt(m,(A,N)=>{Hr(A,C.component?l?l.children.getContext(N):null:l,a)}),a.canDeactivateChecks.push(new $i(C.component&&l&&l.outlet&&l.outlet.isActivated?l.outlet.component:null,C))}class ln{}function Gn(c){return new d.y(l=>l.error(c))}class Gr{constructor(l,a,m,C,A,N){this.rootComponentType=l,this.config=a,this.urlTree=m,this.url=C,this.paramsInheritanceStrategy=A,this.relativeLinkResolution=N}recognize(){const l=Be(this.urlTree.root,[],[],this.config.filter(N=>void 0===N.redirectTo),this.relativeLinkResolution).segmentGroup,a=this.processSegmentGroup(this.config,l,se);if(null===a)return null;const m=new pi([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},se,this.rootComponentType,null,this.urlTree.root,-1,{}),C=new hn(m,a),A=new gi(this.url,C);return this.inheritParamsAndData(A._root),A}inheritParamsAndData(l){const a=l.value,m=pn(a,this.paramsInheritanceStrategy);a.params=Object.freeze(m.params),a.data=Object.freeze(m.data),l.children.forEach(C=>this.inheritParamsAndData(C))}processSegmentGroup(l,a,m){return 0===a.segments.length&&a.hasChildren()?this.processChildren(l,a):this.processSegment(l,a,a.segments,m)}processChildren(l,a){const m=[];for(const A of Object.keys(a.children)){const N=a.children[A],$=I(l,A),Ae=this.processSegmentGroup($,N,A);if(null===Ae)return null;m.push(...Ae)}const C=fo(m);return function ir(c){c.sort((l,a)=>l.value.outlet===se?-1:a.value.outlet===se?1:l.value.outlet.localeCompare(a.value.outlet))}(C),C}processSegment(l,a,m,C){for(const A of l){const N=this.processSegmentAgainstRoute(A,a,m,C);if(null!==N)return N}return Vt(a,m,C)?[]:null}processSegmentAgainstRoute(l,a,m,C){if(l.redirectTo||!Qt(l,a,m,C))return null;let A,N=[],$=[];if("**"===l.path){const Ot=m.length>0?gn(m).parameters:{};A=new pi(m,Ot,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,f(l),_(l),l.component,l,v(a),g(a)+m.length,M(l))}else{const Ot=Ie(a,l,m);if(!Ot.matched)return null;N=Ot.consumedSegments,$=Ot.remainingSegments,A=new pi(N,Ot.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,f(l),_(l),l.component,l,v(a),g(a)+N.length,M(l))}const Ae=function Xo(c){return c.children?c.children:c.loadChildren?c._loadedConfig.routes:[]}(l),{segmentGroup:Qe,slicedSegments:_t}=Be(a,N,$,Ae.filter(Ot=>void 0===Ot.redirectTo),this.relativeLinkResolution);if(0===_t.length&&Qe.hasChildren()){const Ot=this.processChildren(Ae,Qe);return null===Ot?null:[new hn(A,Ot)]}if(0===Ae.length&&0===_t.length)return[new hn(A,[])];const nt=_(l)===C,Pt=this.processSegment(Ae,Qe,_t,nt?se:C);return null===Pt?null:[new hn(A,Pt)]}}function co(c){const l=c.value.routeConfig;return l&&""===l.path&&void 0===l.redirectTo}function fo(c){const l=[],a=new Set;for(const m of c){if(!co(m)){l.push(m);continue}const C=l.find(A=>m.value.routeConfig===A.value.routeConfig);void 0!==C?(C.children.push(...m.children),a.add(C)):l.push(m)}for(const m of a){const C=fo(m.children);l.push(new hn(m.value,C))}return l.filter(m=>!a.has(m))}function v(c){let l=c;for(;l._sourceSegment;)l=l._sourceSegment;return l}function g(c){let l=c,a=l._segmentIndexShift?l._segmentIndexShift:0;for(;l._sourceSegment;)l=l._sourceSegment,a+=l._segmentIndexShift?l._segmentIndexShift:0;return a-1}function f(c){return c.data||{}}function M(c){return c.resolve||{}}function or(c){return[...Object.keys(c),...Object.getOwnPropertySymbols(c)]}function Sr(c){return(0,ee.w)(l=>{const a=c(l);return a?(0,L.D)(a).pipe((0,Y.U)(()=>l)):(0,k.of)(l)})}class Ra extends class es{shouldDetach(l){return!1}store(l,a){}shouldAttach(l){return!1}retrieve(l){return null}shouldReuseRoute(l,a){return l.routeConfig===a.routeConfig}}{}const _n=new p.OlP("ROUTES");class Or{constructor(l,a,m,C){this.injector=l,this.compiler=a,this.onLoadStartListener=m,this.onLoadEndListener=C}load(l,a){if(a._loader$)return a._loader$;this.onLoadStartListener&&this.onLoadStartListener(a);const C=this.loadModuleFactory(a.loadChildren).pipe((0,Y.U)(A=>{this.onLoadEndListener&&this.onLoadEndListener(a);const N=A.create(l);return new $n(lt(N.injector.get(_n,void 0,p.XFs.Self|p.XFs.Optional)).map(w),N)}),(0,Ne.K)(A=>{throw a._loader$=void 0,A}));return a._loader$=new oe(C,()=>new ae.x).pipe(fe()),a._loader$}loadModuleFactory(l){return Ht(l()).pipe((0,qe.z)(a=>a instanceof p.YKP?(0,k.of)(a):(0,L.D)(this.compiler.compileModuleAsync(a))))}}class js{shouldProcessUrl(l){return!0}extract(l){return l}merge(l,a){return l}}function Na(c){throw c}function Hs(c,l,a){return l.parse("/")}function $s(c,l){return(0,k.of)(null)}const La={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ka={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Dn=(()=>{class c{constructor(a,m,C,A,N,$,Ae){this.rootComponentType=a,this.urlSerializer=m,this.rootContexts=C,this.location=A,this.config=Ae,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new ae.x,this.errorHandler=Na,this.malformedUriErrorHandler=Hs,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:$s,afterPreactivation:$s},this.urlHandlingStrategy=new js,this.routeReuseStrategy=new Ra,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=N.get(p.h0i),this.console=N.get(p.c2e);const nt=N.get(p.R0b);this.isNgZoneEnabled=nt instanceof p.R0b&&p.R0b.isInAngularZone(),this.resetConfig(Ae),this.currentUrlTree=function Pn(){return new S(new H([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Or(N,$,Pt=>this.triggerEvent(new Sn(Pt)),Pt=>this.triggerEvent(new ot(Pt))),this.routerState=nn(this.currentUrlTree,this.rootComponentType),this.transitions=new Me.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var a;return null===(a=this.location.getState())||void 0===a?void 0:a.\u0275routerPageId}setupNavigations(a){const m=this.events;return a.pipe((0,Re.h)(C=>0!==C.id),(0,Y.U)(C=>Object.assign(Object.assign({},C),{extractedUrl:this.urlHandlingStrategy.extract(C.rawUrl)})),(0,ee.w)(C=>{let A=!1,N=!1;return(0,k.of)(C).pipe((0,st.b)($=>{this.currentNavigation={id:$.id,initialUrl:$.currentRawUrl,extractedUrl:$.extractedUrl,trigger:$.source,extras:$.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,ee.w)($=>{const Ae=this.browserUrlTree.toString(),Qe=!this.navigated||$.extractedUrl.toString()!==Ae||Ae!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||Qe)&&this.urlHandlingStrategy.shouldProcessUrl($.rawUrl))return Ki($.source)&&(this.browserUrlTree=$.extractedUrl),(0,k.of)($).pipe((0,ee.w)(nt=>{const Pt=this.transitions.getValue();return m.next(new Ut(nt.id,this.serializeUrl(nt.extractedUrl),nt.source,nt.restoredState)),Pt!==this.transitions.getValue()?ye.E:Promise.resolve(nt)}),function Vs(c,l,a,m){return(0,ee.w)(C=>function si(c,l,a,m,C){return new ai(c,l,a,m,C).apply()}(c,l,a,C.extractedUrl,m).pipe((0,Y.U)(A=>Object.assign(Object.assign({},C),{urlAfterRedirects:A}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,st.b)(nt=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:nt.urlAfterRedirects})}),function we(c,l,a,m,C){return(0,qe.z)(A=>function uo(c,l,a,m,C="emptyOnly",A="legacy"){try{const N=new Gr(c,l,a,m,C,A).recognize();return null===N?Gn(new ln):(0,k.of)(N)}catch(N){return Gn(N)}}(c,l,A.urlAfterRedirects,a(A.urlAfterRedirects),m,C).pipe((0,Y.U)(N=>Object.assign(Object.assign({},A),{targetSnapshot:N}))))}(this.rootComponentType,this.config,nt=>this.serializeUrl(nt),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,st.b)(nt=>{if("eager"===this.urlUpdateStrategy){if(!nt.extras.skipLocationChange){const Ot=this.urlHandlingStrategy.merge(nt.urlAfterRedirects,nt.rawUrl);this.setBrowserUrl(Ot,nt)}this.browserUrlTree=nt.urlAfterRedirects}const Pt=new Gt(nt.id,this.serializeUrl(nt.extractedUrl),this.serializeUrl(nt.urlAfterRedirects),nt.targetSnapshot);m.next(Pt)}));if(Qe&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:Pt,extractedUrl:Ot,source:vr,restoredState:Wr,extras:vo}=$,ci=new Ut(Pt,this.serializeUrl(Ot),vr,Wr);m.next(ci);const Ti=nn(Ot,this.rootComponentType).snapshot;return(0,k.of)(Object.assign(Object.assign({},$),{targetSnapshot:Ti,urlAfterRedirects:Ot,extras:Object.assign(Object.assign({},vo),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=$.rawUrl,$.resolve(null),ye.E}),Sr($=>{const{targetSnapshot:Ae,id:Qe,extractedUrl:_t,rawUrl:nt,extras:{skipLocationChange:Pt,replaceUrl:Ot}}=$;return this.hooks.beforePreactivation(Ae,{navigationId:Qe,appliedUrlTree:_t,rawUrlTree:nt,skipLocationChange:!!Pt,replaceUrl:!!Ot})}),(0,st.b)($=>{const Ae=new Kt($.id,this.serializeUrl($.extractedUrl),this.serializeUrl($.urlAfterRedirects),$.targetSnapshot);this.triggerEvent(Ae)}),(0,Y.U)($=>Object.assign(Object.assign({},$),{guards:Gi($.targetSnapshot,$.currentSnapshot,this.rootContexts)})),function li(c,l){return(0,qe.z)(a=>{const{targetSnapshot:m,currentSnapshot:C,guards:{canActivateChecks:A,canDeactivateChecks:N}}=a;return 0===N.length&&0===A.length?(0,k.of)(Object.assign(Object.assign({},a),{guardsResult:!0})):function kn(c,l,a,m){return(0,L.D)(c).pipe((0,qe.z)(C=>function Ar(c,l,a,m,C){const A=l&&l.routeConfig?l.routeConfig.canDeactivate:null;if(!A||0===A.length)return(0,k.of)(!0);const N=A.map($=>{const Ae=Mi($,l,C);let Qe;if(function Ui(c){return c&&Zn(c.canDeactivate)}(Ae))Qe=Ht(Ae.canDeactivate(c,l,a,m));else{if(!Zn(Ae))throw new Error("Invalid CanDeactivate guard");Qe=Ht(Ae(c,l,a,m))}return Qe.pipe((0,Ue.P)())});return(0,k.of)(N).pipe(pr())}(C.component,C.route,a,l,m)),(0,Ue.P)(C=>!0!==C,!0))}(N,m,C,c).pipe((0,qe.z)($=>$&&function fr(c){return"boolean"==typeof c}($)?function zi(c,l,a,m){return(0,L.D)(l).pipe((0,Oe.b)(C=>(0,pe.z)(function Bs(c,l){return null!==c&&l&&l(new Se(c)),(0,k.of)(!0)}(C.route.parent,m),function Wi(c,l){return null!==c&&l&&l(new J(c)),(0,k.of)(!0)}(C.route,m),function $r(c,l,a){const m=l[l.length-1],A=l.slice(0,l.length-1).reverse().map(N=>function Qo(c){const l=c.routeConfig?c.routeConfig.canActivateChild:null;return l&&0!==l.length?{node:c,guards:l}:null}(N)).filter(N=>null!==N).map(N=>T(()=>{const $=N.guards.map(Ae=>{const Qe=Mi(Ae,N.node,a);let _t;if(function Ci(c){return c&&Zn(c.canActivateChild)}(Qe))_t=Ht(Qe.canActivateChild(m,c));else{if(!Zn(Qe))throw new Error("Invalid CanActivateChild guard");_t=Ht(Qe(m,c))}return _t.pipe((0,Ue.P)())});return(0,k.of)($).pipe(pr())}));return(0,k.of)(A).pipe(pr())}(c,C.path,a),function qo(c,l,a){const m=l.routeConfig?l.routeConfig.canActivate:null;if(!m||0===m.length)return(0,k.of)(!0);const C=m.map(A=>T(()=>{const N=Mi(A,l,a);let $;if(function Di(c){return c&&Zn(c.canActivate)}(N))$=Ht(N.canActivate(l,c));else{if(!Zn(N))throw new Error("Invalid CanActivate guard");$=Ht(N(l,c))}return $.pipe((0,Ue.P)())}));return(0,k.of)(C).pipe(pr())}(c,C.route,a))),(0,Ue.P)(C=>!0!==C,!0))}(m,A,c,l):(0,k.of)($)),(0,Y.U)($=>Object.assign(Object.assign({},a),{guardsResult:$})))})}(this.ngModule.injector,$=>this.triggerEvent($)),(0,st.b)($=>{if(Qn($.guardsResult)){const Qe=le(`Redirecting to "${this.serializeUrl($.guardsResult)}"`);throw Qe.url=$.guardsResult,Qe}const Ae=new dn($.id,this.serializeUrl($.extractedUrl),this.serializeUrl($.urlAfterRedirects),$.targetSnapshot,!!$.guardsResult);this.triggerEvent(Ae)}),(0,Re.h)($=>!!$.guardsResult||(this.restoreHistory($),this.cancelNavigationTransition($,""),!1)),Sr($=>{if($.guards.canActivateChecks.length)return(0,k.of)($).pipe((0,st.b)(Ae=>{const Qe=new bt(Ae.id,this.serializeUrl(Ae.extractedUrl),this.serializeUrl(Ae.urlAfterRedirects),Ae.targetSnapshot);this.triggerEvent(Qe)}),(0,ee.w)(Ae=>{let Qe=!1;return(0,k.of)(Ae).pipe(function Ze(c,l){return(0,qe.z)(a=>{const{targetSnapshot:m,guards:{canActivateChecks:C}}=a;if(!C.length)return(0,k.of)(a);let A=0;return(0,L.D)(C).pipe((0,Oe.b)(N=>function Nt(c,l,a,m){return function yn(c,l,a,m){const C=or(c);if(0===C.length)return(0,k.of)({});const A={};return(0,L.D)(C).pipe((0,qe.z)(N=>function Ir(c,l,a,m){const C=Mi(c,l,m);return Ht(C.resolve?C.resolve(l,a):C(l,a))}(c[N],l,a,m).pipe((0,st.b)($=>{A[N]=$}))),Ce(1),(0,qe.z)(()=>or(A).length===C.length?(0,k.of)(A):ye.E))}(c._resolve,c,l,m).pipe((0,Y.U)(A=>(c._resolvedData=A,c.data=Object.assign(Object.assign({},c.data),pn(c,a).resolve),null)))}(N.route,m,c,l)),(0,st.b)(()=>A++),Ce(1),(0,qe.z)(N=>A===C.length?(0,k.of)(a):ye.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,st.b)({next:()=>Qe=!0,complete:()=>{Qe||(this.restoreHistory(Ae),this.cancelNavigationTransition(Ae,"At least one route resolver didn't emit any value."))}}))}),(0,st.b)(Ae=>{const Qe=new Ft(Ae.id,this.serializeUrl(Ae.extractedUrl),this.serializeUrl(Ae.urlAfterRedirects),Ae.targetSnapshot);this.triggerEvent(Qe)}))}),Sr($=>{const{targetSnapshot:Ae,id:Qe,extractedUrl:_t,rawUrl:nt,extras:{skipLocationChange:Pt,replaceUrl:Ot}}=$;return this.hooks.afterPreactivation(Ae,{navigationId:Qe,appliedUrlTree:_t,rawUrlTree:nt,skipLocationChange:!!Pt,replaceUrl:!!Ot})}),(0,Y.U)($=>{const Ae=function an(c,l,a){const m=rn(c,l._root,a?a._root:void 0);return new nr(m,l)}(this.routeReuseStrategy,$.targetSnapshot,$.currentRouterState);return Object.assign(Object.assign({},$),{targetRouterState:Ae})}),(0,st.b)($=>{this.currentUrlTree=$.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge($.urlAfterRedirects,$.rawUrl),this.routerState=$.targetRouterState,"deferred"===this.urlUpdateStrategy&&($.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,$),this.browserUrlTree=$.urlAfterRedirects)}),((c,l,a)=>(0,Y.U)(m=>(new oi(l,m.targetRouterState,m.currentRouterState,a).activate(c),m)))(this.rootContexts,this.routeReuseStrategy,$=>this.triggerEvent($)),(0,st.b)({next(){A=!0},complete(){A=!0}}),function et(c){return(0,re.e)((l,a)=>{try{l.subscribe(a)}finally{a.add(c)}})}(()=>{var $;A||N||this.cancelNavigationTransition(C,`Navigation ID ${C.id} is not equal to the current navigation id ${this.navigationId}`),(null===($=this.currentNavigation)||void 0===$?void 0:$.id)===C.id&&(this.currentNavigation=null)}),(0,Ne.K)($=>{if(N=!0,function me(c){return c&&c[ut]}($)){const Ae=Qn($.url);Ae||(this.navigated=!0,this.restoreHistory(C,!0));const Qe=new It(C.id,this.serializeUrl(C.extractedUrl),$.message);m.next(Qe),Ae?setTimeout(()=>{const _t=this.urlHandlingStrategy.merge($.url,this.rawUrlTree),nt={skipLocationChange:C.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Ki(C.source)};this.scheduleNavigation(_t,"imperative",null,nt,{resolve:C.resolve,reject:C.reject,promise:C.promise})},0):C.resolve(!1)}else{this.restoreHistory(C,!0);const Ae=new wt(C.id,this.serializeUrl(C.extractedUrl),$);m.next(Ae);try{C.resolve(this.errorHandler($))}catch(Qe){C.reject(Qe)}}return ye.E}))}))}resetRootComponentType(a){this.rootComponentType=a,this.routerState.root.component=this.rootComponentType}setTransition(a){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),a))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(a=>{const m="popstate"===a.type?"popstate":"hashchange";"popstate"===m&&setTimeout(()=>{var C;const A={replaceUrl:!0},N=(null===(C=a.state)||void 0===C?void 0:C.navigationId)?a.state:null;if(N){const Ae=Object.assign({},N);delete Ae.navigationId,delete Ae.\u0275routerPageId,0!==Object.keys(Ae).length&&(A.state=Ae)}const $=this.parseUrl(a.url);this.scheduleNavigation($,m,N,A)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(a){this.events.next(a)}resetConfig(a){Ei(a),this.config=a.map(w),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(a,m={}){const{relativeTo:C,queryParams:A,fragment:N,queryParamsHandling:$,preserveFragment:Ae}=m,Qe=C||this.routerState.root,_t=Ae?this.currentUrlTree.fragment:N;let nt=null;switch($){case"merge":nt=Object.assign(Object.assign({},this.currentUrlTree.queryParams),A);break;case"preserve":nt=this.currentUrlTree.queryParams;break;default:nt=A||null}return null!==nt&&(nt=this.removeEmptyProps(nt)),function mi(c,l,a,m,C){if(0===a.length)return ii(l.root,l.root,l.root,m,C);const A=function io(c){if("string"==typeof c[0]&&1===c.length&&"/"===c[0])return new vi(!0,0,c);let l=0,a=!1;const m=c.reduce((C,A,N)=>{if("object"==typeof A&&null!=A){if(A.outlets){const $={};return dt(A.outlets,(Ae,Qe)=>{$[Qe]="string"==typeof Ae?Ae.split("/"):Ae}),[...C,{outlets:$}]}if(A.segmentPath)return[...C,A.segmentPath]}return"string"!=typeof A?[...C,A]:0===N?(A.split("/").forEach(($,Ae)=>{0==Ae&&"."===$||(0==Ae&&""===$?a=!0:".."===$?l++:""!=$&&C.push($))}),C):[...C,A]},[]);return new vi(a,l,m)}(a);if(A.toRoot())return ii(l.root,l.root,new H([],{}),m,C);const N=function yi(c,l,a){if(c.isAbsolute)return new Ur(l.root,!0,0);if(-1===a.snapshot._lastPathIndex){const A=a.snapshot._urlSegment;return new Ur(A,A===l.root,0)}const m=Br(c.commands[0])?0:1;return function oo(c,l,a){let m=c,C=l,A=a;for(;A>C;){if(A-=C,m=m.parent,!m)throw new Error("Invalid number of '../'");C=m.segments.length}return new Ur(m,!1,C-A)}(a.snapshot._urlSegment,a.snapshot._lastPathIndex+m,c.numberOfDoubleDots)}(A,l,c),$=N.processChildren?Er(N.segmentGroup,N.index,A.commands):ki(N.segmentGroup,N.index,A.commands);return ii(l.root,N.segmentGroup,$,m,C)}(Qe,this.currentUrlTree,a,nt,null!=_t?_t:null)}navigateByUrl(a,m={skipLocationChange:!1}){const C=Qn(a)?a:this.parseUrl(a),A=this.urlHandlingStrategy.merge(C,this.rawUrlTree);return this.scheduleNavigation(A,"imperative",null,m)}navigate(a,m={skipLocationChange:!1}){return function ho(c){for(let l=0;l{const A=a[C];return null!=A&&(m[C]=A),m},{})}processNavigations(){this.navigations.subscribe(a=>{this.navigated=!0,this.lastSuccessfulId=a.id,this.currentPageId=a.targetPageId,this.events.next(new tt(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,a.resolve(!0)},a=>{this.console.warn(`Unhandled Navigation Error: ${a}`)})}scheduleNavigation(a,m,C,A,N){var $,Ae;if(this.disposed)return Promise.resolve(!1);let Qe,_t,nt;N?(Qe=N.resolve,_t=N.reject,nt=N.promise):nt=new Promise((vr,Wr)=>{Qe=vr,_t=Wr});const Pt=++this.navigationId;let Ot;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(C=this.location.getState()),Ot=C&&C.\u0275routerPageId?C.\u0275routerPageId:A.replaceUrl||A.skipLocationChange?null!==($=this.browserPageId)&&void 0!==$?$:0:(null!==(Ae=this.browserPageId)&&void 0!==Ae?Ae:0)+1):Ot=0,this.setTransition({id:Pt,targetPageId:Ot,source:m,restoredState:C,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:a,extras:A,resolve:Qe,reject:_t,promise:nt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),nt.catch(vr=>Promise.reject(vr))}setBrowserUrl(a,m){const C=this.urlSerializer.serialize(a),A=Object.assign(Object.assign({},m.extras.state),this.generateNgRouterState(m.id,m.targetPageId));this.location.isCurrentPathEqualTo(C)||m.extras.replaceUrl?this.location.replaceState(C,"",A):this.location.go(C,"",A)}restoreHistory(a,m=!1){var C,A;if("computed"===this.canceledNavigationResolution){const N=this.currentPageId-a.targetPageId;"popstate"!==a.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(C=this.currentNavigation)||void 0===C?void 0:C.finalUrl)||0===N?this.currentUrlTree===(null===(A=this.currentNavigation)||void 0===A?void 0:A.finalUrl)&&0===N&&(this.resetState(a),this.browserUrlTree=a.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(N)}else"replace"===this.canceledNavigationResolution&&(m&&this.resetState(a),this.resetUrlToCurrentUrlTree())}resetState(a){this.routerState=a.currentRouterState,this.currentUrlTree=a.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,a.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(a,m){const C=new It(a.id,this.serializeUrl(a.extractedUrl),m);this.triggerEvent(C),a.resolve(!1)}generateNgRouterState(a,m){return"computed"===this.canceledNavigationResolution?{navigationId:a,\u0275routerPageId:m}:{navigationId:a}}}return c.\u0275fac=function(a){p.$Z()},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();function Ki(c){return"imperative"!==c}let Yi=(()=>{class c{constructor(a,m,C,A,N){this.router=a,this.route=m,this.tabIndexAttribute=C,this.renderer=A,this.el=N,this.commands=null,this.onChanges=new ae.x,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(a){if(null!=this.tabIndexAttribute)return;const m=this.renderer,C=this.el.nativeElement;null!==a?m.setAttribute(C,"tabindex",a):m.removeAttribute(C,"tabindex")}ngOnChanges(a){this.onChanges.next(this)}set routerLink(a){null!=a?(this.commands=Array.isArray(a)?a:[a],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const a={skipLocationChange:Ai(this.skipLocationChange),replaceUrl:Ai(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,a),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Ai(this.preserveFragment)})}}return c.\u0275fac=function(a){return new(a||c)(p.Y36(Dn),p.Y36(Xt),p.$8M("tabindex"),p.Y36(p.Qsj),p.Y36(p.SBq))},c.\u0275dir=p.lG2({type:c,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(a,m){1&a&&p.NdJ("click",function(){return m.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[p.TTD]}),c})(),Ji=(()=>{class c{constructor(a,m,C){this.router=a,this.route=m,this.locationStrategy=C,this.commands=null,this.href=null,this.onChanges=new ae.x,this.subscription=a.events.subscribe(A=>{A instanceof tt&&this.updateTargetUrlAndHref()})}set routerLink(a){this.commands=null!=a?Array.isArray(a)?a:[a]:null}ngOnChanges(a){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(a,m,C,A,N){if(0!==a||m||C||A||N||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const $={skipLocationChange:Ai(this.skipLocationChange),replaceUrl:Ai(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,$),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Ai(this.preserveFragment)})}}return c.\u0275fac=function(a){return new(a||c)(p.Y36(Dn),p.Y36(Xt),p.Y36(it.S$))},c.\u0275dir=p.lG2({type:c,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(a,m){1&a&&p.NdJ("click",function(A){return m.onClick(A.button,A.ctrlKey,A.shiftKey,A.altKey,A.metaKey)}),2&a&&p.uIk("target",m.target)("href",m.href,p.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[p.TTD]}),c})();function Ai(c){return""===c||!!c}let xr=(()=>{class c{constructor(a,m,C,A,N,$){this.router=a,this.element=m,this.renderer=C,this.cdr=A,this.link=N,this.linkWithHref=$,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new p.vpe,this.routerEventsSubscription=a.events.subscribe(Ae=>{Ae instanceof tt&&this.update()})}ngAfterContentInit(){(0,k.of)(this.links.changes,this.linksWithHrefs.changes,(0,k.of)(null)).pipe((0,rt.J)()).subscribe(a=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var a;null===(a=this.linkInputChangesSubscription)||void 0===a||a.unsubscribe();const m=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(C=>!!C).map(C=>C.onChanges);this.linkInputChangesSubscription=(0,L.D)(m).pipe((0,rt.J)()).subscribe(C=>{this.isActive!==this.isLinkActive(this.router)(C)&&this.update()})}set routerLinkActive(a){const m=Array.isArray(a)?a:a.split(" ");this.classes=m.filter(C=>!!C)}ngOnChanges(a){this.update()}ngOnDestroy(){var a;this.routerEventsSubscription.unsubscribe(),null===(a=this.linkInputChangesSubscription)||void 0===a||a.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const a=this.hasActiveLinks();this.isActive!==a&&(this.isActive=a,this.cdr.markForCheck(),this.classes.forEach(m=>{a?this.renderer.addClass(this.element.nativeElement,m):this.renderer.removeClass(this.element.nativeElement,m)}),this.isActiveChange.emit(a))})}isLinkActive(a){const m=function Zi(c){return!!c.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return C=>!!C.urlTree&&a.isActive(C.urlTree,m)}hasActiveLinks(){const a=this.isLinkActive(this.router);return this.link&&a(this.link)||this.linkWithHref&&a(this.linkWithHref)||this.links.some(a)||this.linksWithHrefs.some(a)}}return c.\u0275fac=function(a){return new(a||c)(p.Y36(Dn),p.Y36(p.SBq),p.Y36(p.Qsj),p.Y36(p.sBO),p.Y36(Yi,8),p.Y36(Ji,8))},c.\u0275dir=p.lG2({type:c,selectors:[["","routerLinkActive",""]],contentQueries:function(a,m,C){if(1&a&&(p.Suo(C,Yi,5),p.Suo(C,Ji,5)),2&a){let A;p.iGM(A=p.CRH())&&(m.links=A),p.iGM(A=p.CRH())&&(m.linksWithHrefs=A)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[p.TTD]}),c})();class Gs{}class Ii{preload(l,a){return(0,k.of)(null)}}let po=(()=>{class c{constructor(a,m,C,A){this.router=a,this.injector=C,this.preloadingStrategy=A,this.loader=new Or(C,m,Ae=>a.triggerEvent(new Sn(Ae)),Ae=>a.triggerEvent(new ot(Ae)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,Re.h)(a=>a instanceof tt),(0,Oe.b)(()=>this.preload())).subscribe(()=>{})}preload(){const a=this.injector.get(p.h0i);return this.processRoutes(a,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(a,m){const C=[];for(const A of m)if(A.loadChildren&&!A.canLoad&&A._loadedConfig){const N=A._loadedConfig;C.push(this.processRoutes(N.module,N.routes))}else A.loadChildren&&!A.canLoad?C.push(this.preloadConfig(a,A)):A.children&&C.push(this.processRoutes(a,A.children));return(0,L.D)(C).pipe((0,rt.J)(),(0,Y.U)(A=>{}))}preloadConfig(a,m){return this.preloadingStrategy.preload(m,()=>(m._loadedConfig?(0,k.of)(m._loadedConfig):this.loader.load(a.injector,m)).pipe((0,qe.z)(A=>(m._loadedConfig=A,this.processRoutes(A.module,A.routes)))))}}return c.\u0275fac=function(a){return new(a||c)(p.LFG(Dn),p.LFG(p.Sil),p.LFG(p.zs3),p.LFG(Gs))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})(),ts=(()=>{class c{constructor(a,m,C={}){this.router=a,this.viewportScroller=m,this.options=C,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},C.scrollPositionRestoration=C.scrollPositionRestoration||"disabled",C.anchorScrolling=C.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(a=>{a instanceof Ut?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=a.navigationTrigger,this.restoredId=a.restoredState?a.restoredState.navigationId:0):a instanceof tt&&(this.lastId=a.id,this.scheduleScrollEvent(a,this.router.parseUrl(a.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(a=>{a instanceof _e&&(a.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(a.position):a.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(a.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(a,m){this.router.triggerEvent(new _e(a,"popstate"===this.lastSource?this.store[this.restoredId]:null,m))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return c.\u0275fac=function(a){p.$Z()},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();const Si=new p.OlP("ROUTER_CONFIGURATION"),Ba=new p.OlP("ROUTER_FORROOT_GUARD"),go=[it.Ye,{provide:Mt,useClass:wn},{provide:Dn,useFactory:function Ua(c,l,a,m,C,A,N={},$,Ae){const Qe=new Dn(null,c,l,a,m,C,lt(A));return $&&(Qe.urlHandlingStrategy=$),Ae&&(Qe.routeReuseStrategy=Ae),function Oi(c,l){c.errorHandler&&(l.errorHandler=c.errorHandler),c.malformedUriErrorHandler&&(l.malformedUriErrorHandler=c.malformedUriErrorHandler),c.onSameUrlNavigation&&(l.onSameUrlNavigation=c.onSameUrlNavigation),c.paramsInheritanceStrategy&&(l.paramsInheritanceStrategy=c.paramsInheritanceStrategy),c.relativeLinkResolution&&(l.relativeLinkResolution=c.relativeLinkResolution),c.urlUpdateStrategy&&(l.urlUpdateStrategy=c.urlUpdateStrategy),c.canceledNavigationResolution&&(l.canceledNavigationResolution=c.canceledNavigationResolution)}(N,Qe),N.enableTracing&&Qe.events.subscribe(_t=>{var nt,Pt;null===(nt=console.group)||void 0===nt||nt.call(console,`Router Event: ${_t.constructor.name}`),console.log(_t.toString()),console.log(_t),null===(Pt=console.groupEnd)||void 0===Pt||Pt.call(console)}),Qe},deps:[Mt,on,it.Ye,p.zs3,p.Sil,_n,Si,[class qt{},new p.FiY],[class zr{},new p.FiY]]},on,{provide:Xt,useFactory:function rs(c){return c.routerState.root},deps:[Dn]},po,Ii,class Va{preload(l,a){return a().pipe((0,Ne.K)(()=>(0,k.of)(null)))}},{provide:Si,useValue:{enableTracing:!1}}];function zs(){return new p.PXZ("Router",Dn)}let ns=(()=>{class c{constructor(a,m){}static forRoot(a,m){return{ngModule:c,providers:[go,ui(a),{provide:Ba,useFactory:Ks,deps:[[Dn,new p.FiY,new p.tp0]]},{provide:Si,useValue:m||{}},{provide:it.S$,useFactory:Ws,deps:[it.lw,[new p.tBr(it.mr),new p.FiY],Si]},{provide:ts,useFactory:mo,deps:[Dn,it.EM,Si]},{provide:Gs,useExisting:m&&m.preloadingStrategy?m.preloadingStrategy:Ii},{provide:p.PXZ,multi:!0,useFactory:zs},[xi,{provide:p.ip1,multi:!0,useFactory:ac,deps:[xi]},{provide:is,useFactory:Ys,deps:[xi]},{provide:p.tb,multi:!0,useExisting:is}]]}}static forChild(a){return{ngModule:c,providers:[ui(a)]}}}return c.\u0275fac=function(a){return new(a||c)(p.LFG(Ba,8),p.LFG(Dn,8))},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({}),c})();function mo(c,l,a){return a.scrollOffset&&l.setOffset(a.scrollOffset),new ts(c,l,a)}function Ws(c,l,a={}){return a.useHash?new it.Do(c,l):new it.b0(c,l)}function Ks(c){return"guarded"}function ui(c){return[{provide:p.deG,multi:!0,useValue:c},{provide:_n,multi:!0,useValue:c}]}let xi=(()=>{class c{constructor(a){this.injector=a,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new ae.x}appInitializer(){return this.injector.get(it.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let m=null;const C=new Promise($=>m=$),A=this.injector.get(Dn),N=this.injector.get(Si);return"disabled"===N.initialNavigation?(A.setUpLocationChangeListener(),m(!0)):"enabled"===N.initialNavigation||"enabledBlocking"===N.initialNavigation?(A.hooks.afterPreactivation=()=>this.initNavigation?(0,k.of)(null):(this.initNavigation=!0,m(!0),this.resultOfPreactivationDone),A.initialNavigation()):m(!0),C})}bootstrapListener(a){const m=this.injector.get(Si),C=this.injector.get(po),A=this.injector.get(ts),N=this.injector.get(Dn),$=this.injector.get(p.z2F);a===$.components[0]&&(("enabledNonBlocking"===m.initialNavigation||void 0===m.initialNavigation)&&N.initialNavigation(),C.setUpPreloading(),A.init(),N.resetRootComponentType($.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return c.\u0275fac=function(a){return new(a||c)(p.LFG(p.zs3))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();function ac(c){return c.appInitializer.bind(c)}function Ys(c){return c.bootstrapListener.bind(c)}const is=new p.OlP("Router Initializer")},5861:(je,ce,D)=>{"use strict";function p(G,L,K,Z,U,ne,q){try{var F=G[ne](q),j=F.value}catch(O){return void K(O)}F.done?L(j):Promise.resolve(j).then(Z,U)}function d(G){return function(){var L=this,K=arguments;return new Promise(function(Z,U){var ne=G.apply(L,K);function q(j){p(ne,Z,U,q,F,"next",j)}function F(j){p(ne,Z,U,q,F,"throw",j)}q(void 0)})}}D.d(ce,{Z:()=>d})},7582:(je,ce,D)=>{"use strict";function K(Y,ee,ve,De){var Ue,Ne=arguments.length,Oe=Ne<3?ee:null===De?De=Object.getOwnPropertyDescriptor(ee,ve):De;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Oe=Reflect.decorate(Y,ee,ve,De);else for(var qe=Y.length-1;qe>=0;qe--)(Ue=Y[qe])&&(Oe=(Ne<3?Ue(Oe):Ne>3?Ue(ee,ve,Oe):Ue(ee,ve))||Oe);return Ne>3&&Oe&&Object.defineProperty(ee,ve,Oe),Oe}function Z(Y,ee){return function(ve,De){ee(ve,De,Y)}}function O(Y,ee,ve,De){return new(ve||(ve=Promise))(function(Oe,Ue){function qe(it){try{rt(De.next(it))}catch(Et){Ue(Et)}}function st(it){try{rt(De.throw(it))}catch(Et){Ue(Et)}}function rt(it){it.done?Oe(it.value):function Ne(Oe){return Oe instanceof ve?Oe:new ve(function(Ue){Ue(Oe)})}(it.value).then(qe,st)}rt((De=De.apply(Y,ee||[])).next())})}function oe(Y){return this instanceof oe?(this.v=Y,this):new oe(Y)}function k(Y,ee,ve){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ne,De=ve.apply(Y,ee||[]),Oe=[];return Ne=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),qe("next"),qe("throw"),qe("return",function Ue(tt){return function(It){return Promise.resolve(It).then(tt,Et)}}),Ne[Symbol.asyncIterator]=function(){return this},Ne;function qe(tt,It){De[tt]&&(Ne[tt]=function(wt){return new Promise(function(Gt,Kt){Oe.push([tt,wt,Gt,Kt])>1||st(tt,wt)})},It&&(Ne[tt]=It(Ne[tt])))}function st(tt,It){try{!function rt(tt){tt.value instanceof oe?Promise.resolve(tt.value.v).then(it,Et):Ut(Oe[0][2],tt)}(De[tt](It))}catch(wt){Ut(Oe[0][3],wt)}}function it(tt){st("next",tt)}function Et(tt){st("throw",tt)}function Ut(tt,It){tt(It),Oe.shift(),Oe.length&&st(Oe[0][0],Oe[0][1])}}function X(Y){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ve,ee=Y[Symbol.asyncIterator];return ee?ee.call(Y):(Y=function de(Y){var ee="function"==typeof Symbol&&Symbol.iterator,ve=ee&&Y[ee],De=0;if(ve)return ve.call(Y);if(Y&&"number"==typeof Y.length)return{next:function(){return Y&&De>=Y.length&&(Y=void 0),{value:Y&&Y[De++],done:!Y}}};throw new TypeError(ee?"Object is not iterable.":"Symbol.iterator is not defined.")}(Y),ve={},De("next"),De("throw"),De("return"),ve[Symbol.asyncIterator]=function(){return this},ve);function De(Oe){ve[Oe]=Y[Oe]&&function(Ue){return new Promise(function(qe,st){!function Ne(Oe,Ue,qe,st){Promise.resolve(st).then(function(rt){Oe({value:rt,done:qe})},Ue)}(qe,st,(Ue=Y[Oe](Ue)).done,Ue.value)})}}}D.d(ce,{gn:()=>K,fM:()=>Z,mG:()=>O,qq:()=>oe,FC:()=>k,KL:()=>X}),"function"==typeof SuppressedError&&SuppressedError}},je=>{je(je.s=9077)}]);